|
Of course those literals would both need to be '1940-01-01' to be
in the one hundred year window; oops :-)
However that CASE would not handle a date overflow and could
replace many valid dates. Thus actually ensuring the transfer
function uses a four-digit-year is still preferable.
Replacing only the value '0001-01-01' would ensure that any dates
outside of the valid window would still fail; i.e. continue to
diagnose as an error, anything other than the *LOWVAL, which is
probably better than possibly corrupting the dates by resetting
a valid date to a consistent yet wrong date.
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.