Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- strtotime problem when clocks change


ahmed24 - 4:59 pm on Jan 19, 2013 (gmt 0)


i'm using the strtotime function to convert a date and time like this:

strtotime("20-APR-2013 13:15") so that a calendar application can use it

only problem is that because this date is in the future after the clocks change, it ends up translating to 14:15 instead of 13:15. I am assuming when the clocks on the server change to match, everything will be fine, but then the problem will be that the past dates will end up being. wrong. Is there anyway around this problem?

thanks


Thread source:: http://www.webmasterworld.com/php/4537467.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com