etroop

 
 

Thursday, June 5, 2008

Phew....

I just finished an epic battle with PEAR's Date class and timezones in general, but I came out victorious! I still don't understand how I managed to do it, but a lot of tinkering ended up with me not having to touch the input unix timestamp and setting the timezone = Canada/Mountain, then switching it to the user timezone.

Tags: codelog Last modified 19:37 Thu, 5 Jun 2008 by etroop. Accessed 11 times What Links Here share Share