Thursday, July 30, 2009

To get the microsecond in C#

"ffffff" format string is to represent microseconds in C#

E.g :DateTime.Now.ToString("HH:mm:ss.ffffff")

0 comments:

 
Counter