>>I have a foxpro 2.6 dos app.
>>
>>I was wondering if there is a setting I can set so that foxpro will roll a user entered date to the correct date. So if they enter say '02/02/00' it will not come out as '02/02/1900' but '02/02/2000'.
>>
>>I know this can be done in Visual foxpro with the rollover part of the
>>set century command.
>>
>>Any help would be appreciated.
>
>Hi Eric,
>
>No there isn't, but there are some products that can handle this for you. The one that comes to mind is Y2KFox (
www.y2kfox.com). Otherwise, you can write your own function to emulate the rollover. One note, however, is that you'll have to do some extra work beyond the function. 2/29/00 will come out empty (because FPD will think it's invalid) Christof Lange had a work around that was in a recent FoxPro Advisor, I think.
>
>hth,
Thanks