Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Datetime() operations
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01411971
Message ID:
01411974
Vues:
39
>Can I operate directly to a datetime() with using numeric to characters transformations ?
>
>For example:
>
>store datetime() to my datime
>
>Sum 40 mintures to myDatetime
>
>Sum 2 hours to myDatetime
>
>Moises

The question is not clear.

If you want to add 40 minutes, then use

40*60

If you want to add 2 hours, then use

2*60*60.

The incrementing of datetime value is done in seconds.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform