Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert datetime to numeric?
Message
From
01/01/2001 02:13:56
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00458288
Message ID:
00458294
Views:
52
>Is there a way to convert a datetime to a numeric value? Actually it needs to be negative but I can multiply by -1.

subtract another datetime from the datetime

lnCurrentTime = datetime() - datetime(1970, 1, 1) && equivalent to a C time_t
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform