note 55389 deleted from function.mktime by derick
| From: | derick@php.net | Date: | Sun, 24 Sep 2006 11:58:15 +0000 |
| Subject: | note 55389 deleted from function.mktime by derick | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-117507@lists.php.net to get a copy of this message | ||
Note Submitter: agentleon at navigator dot lv
----
This is probably due to DST or anything like this, but this code:
print(date('d.m.Y',mktime(0,0,0,9,30,1990)+3600*24));
will print out "30.09.1990", instead of "01.10.1990". This works when year is
<=1990, when it is >=1991, everything works fine. PHP ver. 4.3.7