Hello,
I have a signup form in my ZF application, that has a dropdown for "Time Zone". I have listed some of its options below for reference
option value="-12:00">International Date Line West /option
option value="-11:00">Midway Island, Samoa /option
option value="-10:00">Hawaii /option
option value="-09:00">Alaska /option
option value="-08:00">Pacific Time (US & Canada) Tijuana /option
option value="-07:00">Arizona /option
The user is suppose to select a Time Zone as per his location and when he logs in I plan to use the "date_default_timezone_set()" function to set the Time Zone as the user selected Time Zone.
How do I convert the selected user TimeZone into a value that ZF can understand and output a date & time as per the User Selected Time Zone.
Thanks