Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning date/time in yymmdd_hh_mm_ss
Message
 
 
À
11/08/2004 09:14:50
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00932290
Message ID:
00932310
Vues:
17
>You are the man Sergey. Just a quick question... I have century set off, but yet it continues to show 2004. How can I make it just 04?

The TTOC(,1) function returns character representaion of the datetime suitable for an index key. It's independent of any date/time settings.
? SUBSTR(TRANSFORM(TTOC(DATETIME(),1), "@R 99999999_99_99_99"),3)
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform