Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using datetime as part of the file name
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00606961
Message ID:
00607002
Vues:
36
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform