Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WTF is the significance of {^1906-03-09 22:56:52}? :-)
Message
From
16/11/2003 23:32:09
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00848551
Message ID:
00850543
Views:
13
>Stefan,
>
>You can create your own function that would take into account date change and use it instead of SECONDS(). For example
>? mySECONDS(), SECONDS()
>...
>FUNCTION mySeconds(tdBase)
>LOCAL ldBase
>ldBase = IIF(EMPTY(tdBase), {^2003/01/01}, tdBase)
>RETURN (DATE() - ldBase) * 86640 + SECONDS()
Nit-pick: there are 86,400 seconds in a day ;-)
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform