Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Y2K revisited
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00313641
Message ID:
00313645
Views:
29
Joe,
FPW2.x will always default a '2-digit year' to 19xx. You'll need to change your code to
replace InvoiceDt with {01/05/2000}
HTH
Barbara

>This problem occurs in FPW2.6:
>
>Database has a date field, called: InvoiceDt
>
>This command string:
>set century on
>replace InvoiceDt with {01/05/00} produces: 01/05/1900
>
>While this command string:
>set century on
>replace InvoiceDt with date() produces: 01/05/2000
>
>How can I get the first input {01/05/00} to produce 01/05/2000 in the date field? Why is it defaulting to 1900, even though I have Set Century On?
>
>Regards,
>
>Joe Vles
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform