Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return centesimal or millesimal seconds with Datetime()
Message
From
07/12/1998 18:32:45
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00164082
Message ID:
00164910
Views:
30
>John,
>
>>You can't. DateTime data types do not have the precision to be more detailed than seconds.
>
>It depends...
>
>In VFP we can't directly deal with subseconds. The OLE DateTime value though contains milliseconds. If something like VC++ is sending values to a VFP server those milliseconds can be a real PITA. I'll tell you it took a couple of hours tracking this little problem down and involved a hex file viewer.. it wasn't pretty *s*

But the milliseconds are there - the DateTime is stored as one long integer representing Julian date number, plus another long integer representing milliseconds after midnight. I think someone showed a method of showing it.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform