Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning date in short format without changing SET CENT
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00629148
Message ID:
00629150
Vues:
12
This message has been marked as the solution to the initial question of the thread.
>Hi everybody,
>
>I decided to update my VFPStart program to allow automatically insert my initials and date in the short format, e.g.:
>
>* Insert modidate
>on key label f3 keyboard 'Nadya Nosonovsky '+ttoc(datetime()) plain && Insert modidate
>on key label Alt+U keyboard 'Updated:NN: '+dtoc(date()) plain && Insert modidate
>
>However, I want to to have dates like 02/02/02, etc. , is where a simple way besides substr() or changing set century back and forth?
STRTRAN(dtoc(date()), "/200", "/0")
for the next 7 years.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform