General information
Category:
Coding, syntax & commands
>>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()))
Or, shorter: TTOD(DATETIME()) :)
Vlad
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only