Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why?????
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00801657
Message ID:
00801905
Views:
19
>>>On my system (VFP8, WinXp) it works properly for everything except Set Date Short
>>>and Set Date Long
>>
>>Actually, it's "proper" there too. From the SET DATE docs:
>>
>>Note When SET DATE is set to SHORT or LONG, a date before {^1601-01-01} is invalid and generates an error.
>
>Hi Garrett.
>
>Yeah, I didn't check it. I suppose there is a good reason for it, but I can't imagine what it is.

mskb#Q167296
"Under Win32 platforms, file times are maintained primarily in the form of a 64-bit FILETIME structure, which represents the number of 100-nanosecond intervals since January 1, 1601 UTC (coordinate universal time). "

>Any explanation for this though?:
>Set Date Short
>? Year(Date(1600, 12, 31))
>1600
Well, Fox knows how to handle earlier dates: it's only Windows that doesn't know about them. So, since the date is never displayed in BRITISH, SHORT, or MDY, the problem above doesn't come into play.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform