Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DateTime Function
Message
 
À
12/08/1998 09:12:39
Scott Knight
Human Resources Development Canada
St. John's, Terre-Neuve, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00125965
Message ID:
00125975
Vues:
12
>How do I add a day to DateTime(). When Using the Date() function is was possible to say date() + 1. DateTime() + 1 increases the seconds by one which kind of makes sense I guess. I need to add one day (or multiple days) to a date time value.
>
>Thanks in Advance
>
>Scott

You could just add the number of seconds in a day:

DateTime() + (nDays * 3600 * 24)

HTH
_________________________________
There are 2 types of people in the world:
    Those who need closure
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform