General information
Category:
Coding, syntax & commands
Title:
Function DTOC() on a TIMEDATE...
Hi,
I used the function FDATE() to find out the modified date of a file I have on disk. I then converted this value to a character value using the function DTOC in order to pop this value in a messagebox to the user. My problem is that even when I use the optionnal argument (1) to the function FDATE() to have a TIMEDATE result, the conversion to a string only keeps the date and not the time portion of my variable. For example:
?FDATE("c:\test.txt",1)
> 10/10/2000 02:05:26 PM
?DTOC(FDATE("c:\test.txt",1))
> 10/10/2000
How can I keep the entire value returned by FDATE (or any other function that returns a TIMEDATE value)?
Thanks a lot in advance, Stephane.
Next
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