Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Century off
Message
 
 
To
22/03/2009 14:20:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01390409
Message ID:
01390425
Views:
60
Try
SET DATE TO AMERICAN
>So how do I get "1/1/09" or "01/01/09" to display?
>
>>SET CENTURY OFF affects only display of century part. The ROLLOVER clause controls how 2 digit century is converted.
>>@ 1,50 say w_dt is displayed as '01/01/09' on my PC when SET CENTURY OFF
>>
>>
>>>
>>>What am I doing wrong?
>>>
>>>In the following code:
>>>
>>>
>>>CLEAR
>>>
>>>SET CENTURY off
>>>
>>>w_dt = {1/1/09}
>>>
>>>@ 1,2 say SET('cent')
>>>@ 1,50 say w_dt
>>>
>>>
>>>The following displays on line 1:
>>>
>>>
>>>  OFF                                            1/1/2009
>>>
>>>
>>>Shouldn't is say 1/1/09?
>>>
>>>Thanks,
>>>
>>>Yossi
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform