Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Year 2000 FPW2.6
Message
 
To
08/10/1998 07:25:44
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00144937
Message ID:
00144970
Views:
32
>Hi Rick, I noticed you posted something yesterday for FPW 2.6, so I figured I would send you a question about Y2K and version 2.6.
>
>Any simple work arounds for Leap Year 2000? I know that the 'Invalid Date' message is displayed when the On Readerror fires, and I have a general idea of what needs to be done, but I am open for suggestions.
>An example I have seen is to copy the Leap Year date to the clipboard (using _CLIPTEXT somehow) and comparing it to the Julian Date for Leap Year 2000 (SYS(10, 2451604)and storing the 'modified date' back to the variable.
>
>I was just curious if there may be alternative solutions available. Any suggestions would be appreciated. Thank You.

Missy,

AFAIK, FPW doesn't have a problem with leap year in 2000. It is a leap year, and {2/28/2000} + 1 returns {2/29/2000}
George

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

Click here to load this message in the networking platform