Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
4 digit year in browse
Message
From
23/03/1998 17:56:34
 
 
To
19/03/1998 10:32:17
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00085514
Message ID:
00086568
Views:
32
>>>Does anyone know of a way to force a mm-dd-yy format for any date field that contains a date greater than 12/31/1999 when using the browse command? SET CENTURY OFF does not seem to work and I don't want to use the WHEN or VALID clauses on the BROWSE command.
>>Mike,
>>
>>You cannot. The four digit display of dates beyond 1999 is the way it is. I know you don't like the answer, adn I don't necessarily like it either. But that is the way it works and kowing this will save you alot of effort on a fruitless persuit.
>
>Thanks a lot for your response. You're right, I'm not too happy about it, but I am glad to end my struggle with it.
I am running VFP 5.0a, service pack 3, and I don't understand this thread. If I have a D field with a value of '01/01/2000', I SET CENTURY ON, do a browse and see '01/01/2000'. I SET CENTURY OFF, do a browse and see '01/01/00'. What did I miss?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform