Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
*Compatibility Report* CTOD()-output different
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00702772
Message ID:
00702796
Views:
9
>Description:
>
>The output of CTOD() is different opposed to VFP5 (didn't check VFP6, but it will be the same as VFP7 there), due to 2K problems solved. It lists as follows :
>
>SET CENTURY ON         && No ROLLOVER option used.
>
>                       VFP5          VFP7
>?CTOD('01-01-0000')    01-01-1900      -  -
>?CTOD('01-01-0001')    01-01-1901    01-01-0001
>?CTOD('01-01-00')      01-01-1900    01-01-2000
>
>Solution:

Note that the results in VFP 6.0 SP5 are identical to VFP 7.0.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform