Re: date problem
| From: | John | Date: | Wed, 24 Sep 2003 17:26:29 +0000 |
| Subject: | Re: date problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-163782@lists.php.net to get a copy of this message | ||
For me, on Windows, it won't work because Windows won't do anything prior to
1970.
On linux, I get 17 as the result. If I change the year to 2000, then I get
08 on both.
John
"Shaun" <shaun@mania.plus.com> wrote in message
news:20030924160719.11919.qmail@pb1.pair.com...
> Hi,
>
> Why does the following code print '00', surely it should print '08',
> I'm
> baffled!
>
> date("H", mktime(8, 0, 0, 0, 0, 0));
>
> Thanks for your help