Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date from datetime...
Message
De
26/09/1997 09:06:05
 
 
À
26/09/1997 09:02:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00051759
Message ID:
00051762
Vues:
42
>Is there a function that returns the date from a datetime expression... sort of the reverse of DTOT()? I could use something like ctod(left(str(dtoc(datetime())), 8)) but this is pretty messy and doesn't account for different SET CENTURY settings.

CTOD(DTOC(DATETIME()))
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform