Difference between #1 and #2 of
TimeZone dropDown

Revision #2 has been created by Maurizio Domba Cerin on Dec 18, 2012, 10:18:52 AM with the memo:

fixed link
« previous (#1)


Title unchanged

TimeZone dropDown

Category unchanged


Yii version unchanged

Tags unchanged

timezone, drop down list

Content changed

I spend a bit of time looking for the this piece of code while building time feature on a site this tutorial also helped [Local time zones and locales](http://www.yiiframework.com/wiki/197/local-time-zones-and-locales/]("local-time-zones-and-locales")

<?php echo CHtml::label(Yii::t(PTranslate::CAT_USER,UserPref::PREF_USER_TIME_ZONE),UserPref::PREF_USER_TIME_ZONE);
echo CHtml::dropDownList(UserPref::PREF_USER_TIME_ZONE, UserPref::getValue(UserPref::PREF_USER_TIME_ZONE),array(
3 0
Viewed: 13 943 times
Version: 1.1
Category: How-tos
Written by: Tibor Katelbach
Last updated by: Maurizio Domba Cerin
Created on: Dec 18, 2012
Last updated: 10 years ago
Update Article


View all history