Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WTF is the significance of {^1906-03-09 22:56:52}? :-)
Message
De
16/11/2003 23:32:09
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00848551
Message ID:
00850543
Vues:
11
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform