Re: Format(Now, Milliseconds)?
From: Morten Wennevik (MortenWennevik_at_hotmail.com)
Date: 06/14/04
- Next message: Dennis: "Re: Is there a DotNet Reporting package, in place of Crystal Reports?"
- Previous message: Shawn: "How to stop objects & forms from shrinking ?"
- In reply to: DraguVaso: "Format(Now, Milliseconds)?"
- Next in thread: Herfried K. Wagner [MVP]: "Re: Format(Now, Milliseconds)?"
- Reply: Herfried K. Wagner [MVP]: "Re: Format(Now, Milliseconds)?"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 14 Jun 2004 10:58:12 +0200
Hi Pieter,
I don't know about String.Format, but you can use
DateTime.ToString("HH:mm:ss:fff");
f is fraction of second, which essentially is milliseconds, fff to the nearest 1/1000.
-- Happy coding! Morten Wennevik [C# MVP]
- Next message: Dennis: "Re: Is there a DotNet Reporting package, in place of Crystal Reports?"
- Previous message: Shawn: "How to stop objects & forms from shrinking ?"
- In reply to: DraguVaso: "Format(Now, Milliseconds)?"
- Next in thread: Herfried K. Wagner [MVP]: "Re: Format(Now, Milliseconds)?"
- Reply: Herfried K. Wagner [MVP]: "Re: Format(Now, Milliseconds)?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|