Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date from datetime...
Message
From
26/09/1997 09:06:05
 
 
To
26/09/1997 09:02:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00051759
Message ID:
00051762
Views:
37
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform