Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Don't expect coherent results when you're out of range:</p> <p>cf <a href="http://us2.php.net/manual/en/function.strtotime.php" rel="nofollow noreferrer">strtotime</a></p> <p>cf <a href="http://www.gnu.org/software/tar/manual/html_node/Calendar-date-items.html#SEC116" rel="nofollow noreferrer">Gnu Calendar-date-items</a>.html</p> <blockquote> <p>"For numeric months, the ISO 8601 format ‘year-month-day’ is allowed, where year is any positive number, <strong>month is a number between 01 and 12</strong>, and <strong>day is a number between 01 and 31</strong>. A leading zero must be present if a number is less than ten."</p> </blockquote> <p>So '0000-00-00' gives weird results, that's logical!</p> <hr> <blockquote> <p>"Additionally, <strong>not all platforms support negative timestamps, therefore your date range may be limited to no earlier than the Unix epoch</strong>. This means that e.g. %e, %T, %R and %D (there might be more) and <strong>dates prior to Jan 1, 1970 will not work on Windows, some Linux distributions, and a few other operating systems</strong>."</p> </blockquote> <p>cf <a href="http://us2.php.net/manual/en/function.strftime.php" rel="nofollow noreferrer">strftime</a></p> <hr> <p>Use <a href="http://us2.php.net/manual/en/function.checkdate.php" rel="nofollow noreferrer">checkdate</a> function instead (more robust):</p> <blockquote> <p>month: The <strong>month is between 1 and 12 inclusive</strong>.</p> <p>day: The day is within the allowed number of days for the given month. Leap year s are taken into consideration.</p> <p>year: The <strong>year is between 1 and 32767 inclusive</strong>.</p> </blockquote>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload