Re: Convert local dates into GMT+1 dates

From: Date: Sat, 27 Sep 2008 19:59:04 +0000
Subject: Re: Convert local dates into GMT+1 dates
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-281057@lists.php.net to get a copy of this message
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@freemail.ru>

« previous php.general (#281057) next »