Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Century off
Message
 
 
To
22/03/2009 14:30:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01390409
Message ID:
01390427
Views:
51
>>>>Yes, it should if the century is OFF.
>>>
>>>But it ain't!!!???
>>
>>I tried a second ago and it worked for me. See my answer in other message.
>
>Naomi:
>
>It's working correctly now for me as well. My eyes must have been playing truicks with me.
>
>HOWEVER, look at the following:
>
>
>CLEAR
>
>SET STRICTDATE TO 0
>SET CENTURY off
>
>w_dt = {1/1/2009}
>
>@ 1,2 say SET('cent')
>@ 1,50 say w_dt
>@ 2,50 get w_dt
>read
>
>The GET is not working properly. It only has enough space for a two-digit year, yet display a four digit year. How can I get the GET to display correctly?

Is there any way to use more modern commands for this? I'm afraid I don't remember these commands too deep :) It may be achieved with some format clauses in GET, I assume.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform