Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set century to .....
Message
 
To
04/07/2002 10:49:16
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00675346
Message ID:
00675351
Views:
9
>hi all,
>
>when i enter a date for example - 25 May 63, the system displays 25 may 2063. why ?? i have the following code set in my form.
>
>Set Century On
>Set Century to 19 RollOver 80
>
>pls assist me.
>
>sincere thanks in advance

This behaves exactly according to Help:

ROLLOVER nYear A number from 0 to 99 that specifies the year above which is the current century and below which is the next century.

Since you entered 63, which is below 80, it converted it to 2063.
You need to use different ROLLOVER value according to your needs.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform