Re: mktime() problem
| From: | liljim | Date: | Tue, 23 Oct 2001 12:52:53 +0000 |
| Subject: | Re: mktime() problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-71933@lists.php.net to get a copy of this message | ||
Hi James,
> I'm running 4.0.6 on a Solaris 8 box. The output given by
>
> echo mktime(0,0,0,1,1,1970);
>
> is 3600.
>
> Shouldn't it be 0? My box's locale is set to the UK defaults, so as I
write
> this we are in daylight savings (GMT+1). Would this make a difference? (I
> have already tried
I uploaded the same script to my server which is also running BST (GMT +1) :
the output was as I expected, -3600 (we gained an hour, so had to lose it
somewhere): are you sure your value wasn't minus 3600 also?
James