Format String: Hundredth of a second

  • Thread starter Thread starter Özgür Aytekin
  • Start date Start date
Ö

Özgür Aytekin

How can I display the hundredth of a second or which is the correct format
string?

I use now {0:yyyy-MM-dd HH:mm:ss} and this display the following
information:

2004-08-04 21:49:21... But I want to display the hundredth of a second
too...

Regards,

Özgür Aytekin (MCSD .NET, MCDBA)

www.borsagame.com
 
Make your format string {0:yyyy-MM-dd HH:mm:ss.ff}

Tom Dacon
Dacon Software Consulting
 
Özgür Aytekin said:
How can I display the hundredth of a second or which is the correct format
string?

I use now {0:yyyy-MM-dd HH:mm:ss} and this display the following
information:

2004-08-04 21:49:21... But I want to display the hundredth of a second
too...

Use

{0:yyyy-MM-dd HH:mm:ss.fff}
 
Back
Top