determining fractional seconds from serial time
Hi Dave -
I tired this after reading your post and got a mis match error.
Sub test()
Dim temp As String
temp = ""
temp = FormatDateTime(Now, "hh:mm:ss.000")
MsgBox temp
Exit Sub
my need is to measure a time interval in tenths of seconds.
Can you help please?
thanks,
Neal Z.
"Bob Phillips" wrote:
format( t, "hh:mm:ss.000")
--
HTH
RP
(remove nothere from the email address if mailing direct)
"David Gerstman" wrote in message
...
How do I get fractions of a second from the serial time?
If I do
format( t, "hh:mm:ss.sss")
where t is the time I'm looking at, all the fractional part does is repeat
the number of seconds as a repeating fraction.
I tried dividing by 3600, 12, 12 in order but that gives me the wrong
answer...
David Gerstman
|