php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #7103
Patch yearlimit revision 2013-08-26 08:02 UTC by udom at sut dot ac dot th

Patch yearlimit for Date/time related Bug #7103

Patch version 2013-08-26 08:02 UTC

Return to Bug #7103 | Download this patch
Patch Revisions:

Developer: udom@sut.ac.th

<meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
<?php
$n = 0;
$i = 0;
for( $i=2012;$i<=2072;$i++){
   echo ++$n;
   echo " = ";
   echo date('Y',mktime(1,2,3,4,5,$i));
   echo "<br>";
}
   

?>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 21:01:27 2024 UTC