Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using datetime as part of the file name
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00606961
Message ID:
00607002
Views:
41
This message has been marked as the solution to the initial question of the thread.
Transform(TTOC( DATETIME(),1), "@R XXXXXXXX_XXXX")
or
Chrtran( Dtoc( Date()) + "_" + LEFT(Time(),5), "/:", "")
>>>Hi everybody,
>>>
>>>I'm thinking about including datetime in the file name to identify files. How should I transform it?
>>>
>>>Thanks a lot in advance.
>>
TTOC( DATETIME(),1)
>
>Hi Sergey,
>
>I think, I want date in normal date format (e.g. monthdateyear), then _, then 1446. I don't need seconds.
>
>Anyway, I think, it's not important, so I probably just go with yours suggestion.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform