Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Show only 2 digits for a year
Message
De
30/12/2008 06:11:05
 
 
À
30/12/2008 05:26:37
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:
01370097
Vues:
22
>>>>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 !

A happy new year to you, too! :-)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform