Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add time to date to make DateTime
Message
De
02/02/2017 18:43:43
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01647380
Message ID:
01647383
Vues:
42
>Hi,
>
>Say I have a variable that contains a date. I want to add to it the current time and make the value DateTime type.
>How do you do it? TIA
m.Yesterday = DATE() - 1
? VARTYPE(m.yesterday),m.yesterday
m.yesterday = DTOT(m.yesterday) + SECONDS()
? VARTYPE(m.yesterday),m.yesterday
----------------------------------
António Tavares Lopes
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform