For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > April 2006 > convertTZbyID









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author convertTZbyID
Adam Barrett

2006-04-25, 7:04 pm

I seem to be getting the wrong time when I convert it by convertTZbyID.

For example:

my server is in MST, and I need to calc for EST. This should be a
difference of 2 hours, however when I use convertTZbyID I get a new
time 4 hours from MST.

According to the documentation you pass in

string $id

Is that string the MST or should that be something like 7

Thanks!

--
Adam Barrett
dragen@gmail.com
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com