Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DATE function lowest year 100
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
DATE function lowest year 100
Miscellaneous
Thread ID:
01003666
Message ID:
01003666
Views:
70
Hi,

I just had some problems with the DATE() function. This function allows only dates equal or greater 100. Why? A date field can hold year values between 0 and 99. Retrieving such a year with YEAR() and later using it in DATE() leads to an error. This seems to be a bit weird to me. Need a go back to CTOD for date calculations?

Andreas
Next
Reply
Map
View

Click here to load this message in the networking platform