How can I simply change the Timezone Offset with Zend_Date?

Posted by Nicky Hajal on Stack Overflow See other posts from Stack Overflow or by Nicky Hajal
Published on 2010-05-08T02:09:10Z Indexed on 2010/05/08 2:18 UTC
Read the original article Hit count: 320

Filed under:
|
|

I'm using Zend_Date to manage dates/times in a scheduling app.

The only way I'm able to determine the user's Timezone is via Javascript which only gives a Timezone Offset. Zend_Date only seems to take Timezones in the 'America/New_York' format.

Is there a way to get the users timezone in this format or set the Timezone Offset with Zend_Date?

Thanks!

© Stack Overflow or respective owner

Related posts about zend-framework

Related posts about zend-date