Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OK! This is interesting
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00655074
Message ID:
00655184
Views:
24
>Frank,
>
>Datetimes are accurate to the millisecond but we can only access the seconds. This si why you are getting the rounding error. Better than round() in this situation is ceiling() as in;
>
>lnSecs = CEILING(DT1 - DT2)

Why it's better?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform