Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fails introducing dates with two digits year
Message
From
05/01/1999 20:10:37
 
 
To
05/01/1999 16:59:59
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00172937
Message ID:
00172990
Views:
26
To add to Steven's post: check out the property Century for textboxes (new with 5.0). This can be set easily in your textbox baseclass to use 4 digit years. (Though, I know you're using 2 digit < s >.)

>Working with VFP 5.0 if I use 'Default session' I get the year from
>1930 to 2029 when I introduce a date in the format dd/mm/yy.
>But when I use the same text control in a form with 'Private data session' it does not run.
>I have tested with 'set century', 'set century to 19 rollover 30', etc. and I get 19xx or 20xx.
>Is there anything to avoid the four digits when typing the year?
Previous
Reply
Map
View

Click here to load this message in the networking platform