Re: Convert local dates into GMT+1 dates

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

 



Greetings, debussy007.
In reply to Your message dated Friday, September 26, 2008, 16:52:18,

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

Does that means your dates stored as strings? Or as dates?

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

If you have it stored in DB, it is right date and time, whatever that means
for that specific moment. I can't see where you have problem or what you 
want to achieve by CHANGING dates in such way.
Care to explain?


-- 
Sincerely Yours, ANR Daemon <anrdaemon@xxxxxxxxxxx>


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