Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Show only 2 digits for a year
Message
From
30/12/2008 05:26:37
 
 
To
30/12/2008 05:16:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01370078
Message ID:
01370095
Views:
15
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 !
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform