Re: Bug #3808: probably y2k problem
| From: | Faisal Nasim | Date: | Sat, 11 Mar 2000 14:19:28 +0000 |
| Subject: | Re: Bug #3808: probably y2k problem | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-16682@lists.php.net to get a copy of this message | ||
: From: roman@management.cz
: Operating system: SuSE Linux 6.1 / Windows 2000 RC2
: PHP version: 3.0.15
: PHP Bug Type: Misbehaving function
: Bug description: probably y2k problem
:
: $datum = date("d.m.Y H:i:s",time);
: echo $datum;
:
: this will print 01.01.1970 01:00:00 and my date on the system is March 11,
2000
:
: I tried this on 3 diferent computers with diferent operating systems.
time => time()
This should fix it! ('time' evaluates to value 0!)
Enjoy!
Faisal