Hi all,
Im manipulating dates in PHP and then saving them for latter use in the GMT format.
(I will be using it in RSS in the format Wed, 13 Feb 2008 17:22:00 GMT).
The problem is when you store a date you do not get the exact time in the summer as it is 1hour ahead so you have to put for example:
Sun, 1 Jun 2008 14:00:00 GMT -0100
Is there anyway of finding out using php whether daylight saving is in effect on the given date so the appropriate adjustment can be made ?
Im manipulating dates in PHP and then saving them for latter use in the GMT format.
(I will be using it in RSS in the format Wed, 13 Feb 2008 17:22:00 GMT).
The problem is when you store a date you do not get the exact time in the summer as it is 1hour ahead so you have to put for example:
Sun, 1 Jun 2008 14:00:00 GMT -0100
Is there anyway of finding out using php whether daylight saving is in effect on the given date so the appropriate adjustment can be made ?