Re: Problem with DATE 2010-10-31

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12 October 2010 10:52, Rado OrÅula <rado.orsula@xxxxxxxxx> wrote:
> I do not know good English.
> In the attached source code.
> Here is erroneous statement:
>
> date: 2010-10-31 00:00:00
> date+0h: 2010-10-31 00:00:00
> date+1h: 2010-10-31 01:00:00
> date+2h: 2010-10-31 02:00:00Â <<<
> date+3h: 2010-10-31 02:00:00Â <<<
> date+4h: 2010-10-31 03:00:00
> date+5h: 2010-10-31 04:00:00
> date+6h: 2010-10-31 05:00:00
> date+7h: 2010-10-31 06:00:00
> date+8h: 2010-10-31 07:00:00
> date+9h: 2010-10-31 08:00:00
> date+10h: 2010-10-31 09:00:00
> date+11h: 2010-10-31 10:00:00
> date+12h: 2010-10-31 11:00:00
> date+13h: 2010-10-31 12:00:00
> date+14h: 2010-10-31 13:00:00
> date+15h: 2010-10-31 14:00:00
> date+16h: 2010-10-31 15:00:00
> date+17h: 2010-10-31 16:00:00
> date+18h: 2010-10-31 17:00:00
> date+19h: 2010-10-31 18:00:00
> date+20h: 2010-10-31 19:00:00
> date+21h: 2010-10-31 20:00:00
> date+22h: 2010-10-31 21:00:00
> date+23h: 2010-10-31 22:00:00
> date+24h: 2010-10-31 23:00:00

What timezone are you in?

In the UK GMT's BST is about to end and revert to standard GMT (If
D.R. reads this I apologize for the wishy washy explanation).

So, if you were to include the DST, the output would look right.

date+0h: 2010-10-31 00:00:00 BST
date+1h: 2010-10-31 01:00:00 BST
date+2h: 2010-10-31 02:00:00  BST<<<
date+3h: 2010-10-31 02:00:00 GMT<<<
date+4h: 2010-10-31 03:00:00 GMT
date+5h: 2010-10-31 04:00:00 GMT
date+6h: 2010-10-31 05:00:00 GMT



-- 
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux