Re: Convert local dates into GMT+1 dates

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

 



On Fri, Sep 26, 2008 at 8:52 AM, debussy007 <debussy007@xxxxxxxxx> wrote:
>
> Hello everyone!
>
> I have local dates (Belgium), which I want to convert to GMT+1 date.
> The dates are stored in the DB and are of the following format:  '2008-06-24
> 23:30:02'
>
> So I think I'll need to check wether the date in DB is GMT+1 or GMT+2
> (winter or summer),
> if date is GMT+2, subtract one hour from the date.
>
> Thank you for any help achieving this !!
> --
> View this message in context: http://www.nabble.com/Convert-local-dates-into-GMT%2B1-dates-tp19687861p19687861.html
> Sent from the PHP - General mailing list archive at Nabble.com.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Perhaps this will help:

http://us3.php.net/manual/en/function.timezone-offset-get.php

-- 
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