I know the date/time format "dd/mm/yyyy hh:mm:ss" but what's the format for milliseconds? And why does the date-type doesn't know milliseconds in the following way: 02/02/2002 11:16:56.120 ?
The 'clock' resoloution in the "PC" is not sufficiently precise to warrant the use or display of milliseconds. The standard clock is 18 'ticks' per second or so.
If you use the API calls, you can get more accurate time, but AFAIK, the MS Date data type doesn't support the display of these, so you also need custom display routines.
MichaelRed
m.red@att.net
There is never time to do it right but there is always time to do it over
VB versions prior to VB.NET don't return milliseconds in the Date type, I'm afraid.
Also, as MichaelRed states, the system clock is only accurate to about 55ms. So even if the Date type {b]did[/b] support milliseconds you could not rely on it to actually return values accurate to a millisecond.
Perhaps it would be pertinent to ask why you need milliseconds.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.