microsecondDateTime function in C#