Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Show only 2 digits for a year
Message
De
30/12/2008 05:26:37
 
 
À
30/12/2008 05:16:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01370078
Message ID:
01370095
Vues:
17
This message has been marked as a message which has helped to the initial question of the thread.
>>>Hi everybody,
>>>
>>>Is there a simple way to show date as
>>>
>>>mm/dd/yy regardless of set century setting?
>>>
>>>Thanks in advance.
>>
>>Where show it ?
>>
>>
>>* textbox.Century  ON/OFF
>>
>>* plain text
>>? STUFF(DTOC(DATE()),7,2,"")
>>
>
>This does not work for Set date=italian and set century=off.

For any set date ...

I think that Naomi is able to finish the job ...
? STUFF(DTOC(DATE()),7,IIF(SET("Century")=="ON",2,0),"")
Happy new year Tore !
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform