Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
One Day
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00878450
Message ID:
00878451
Vues:
19
>Hi everybody,
>
>I would like to increase a Date or DateTime field by one day. What is one day for both of these types? Is there any function that returns one day?
>

Ali

You can add/substract days to a date value and seconds to a datetime value.
* Date
ldDate = DATE()
ldDate = ldDate + 1   && +1 day
* Datetime
ltDatetime = DATETIME()
ltDatetime = ltDatetime + 86400     && +1 day = 60*60*24   
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform