× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



There was a year 300 bug that was reported and answered a bit over ten
years ago as one that would not be fixed due to performance considerations.
Heres a link that discusses it to a limited degree.

http://www.mcpressonline.com/forum/archive/index.php/t-14622.html
On Thu, Feb 2, 2012 at 6:27 PM, Mike Krebs <majkrebs@xxxxxxxxx> wrote:



I did not intend to but while playing with a function I created and tried
to use date 0300-02-29. The function did not like it but it was created
using standard date handling. Bug or something I don't know about supported
dates?

From my investigation, supported dates are from 0001-01-01 to 9999-12-31.
Should I expect the following to work? To simplify the problem, here are
the relevant date things.

SELECT date('0300-02-28')+ 1 days from sysdummy1
Date expression
0300-02-29

SELECT date('0300-02-29') from sysdummy1
DATE
++++++++++

SELECT date('0300-03-01') - 1 days from sysdummy1

Date expression
0300-02-28
Looking more and more like a bug. Other leap year (non-leap year)
calculations seem to work (although I didn't test them all). Anyone know if
this is some kind of built-in error or just a bug?

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.