× 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.





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?


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.