Time Zone Array - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Time Zone Array (/showthread.php?tid=28944) |
Time Zone Array - El Forum - 03-25-2010 [eluser]Unknown[/eluser] You have displayed the Time zone Menu as like below, http://ellislab.com/codeigniter/user-guide/helpers/date_helper.html Here the India Zone Value as "UP45" <option value="UP45">(UTC + 5:30) Bombay, Calcutta, Madras, New Delhi</option> With this reference i've taken.. But when i've given the code like this <?php echo timezone_menu('UP45');?> I've got the result as Afganisation instead of India Value.. <option value="UP45">(UTC +4:30) Afghanistan</option> How its possible..? Please Reply Me!! Thanks.. Time Zone Array - El Forum - 03-26-2010 [eluser]danmontgomery[/eluser] This appears to be an error in the user guide... It should be: Quote:... The code also supports a few more timezones which aren't in the user guide: Quote:UP575 (UTC + 5:45) Kathmandu Time Zone Array - El Forum - 03-26-2010 [eluser]Unknown[/eluser] Thanks.. |