|
On Thu, Jun 28, 2018 at 1:07 AM, Dan <dan27649@xxxxxxxxx> wrote:
To the best of my knowledge, QDATETIME will return a valid date all the way
through the year 9999.
Well, the system values are all *settable*, not just gettable. So
let's say you set QDATETIME to 4018-06-28. What do you get when you
retrieve QDATE and QCENTURY?
Obviously, I'm not going to try this on any actual machine!
More to the point, any date data type with a
4-digit year will correctly support any year up to 9999. The 54-99 and
00-24 century crap only applies if you are using date data types with a
2-digit year.
I wouldn't be so sure. Why does the documentation say that the years
1928 through 2053 are supported? Why not a 100-year window? Why not
1901 through 2099?
There are sometimes other constraints besides the number of base-10
digits. I don't know if that's the case here, but I don't know that
it's not.
John Y.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.