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)

Changes

Title unchanged

TimeZone dropDown

Category unchanged

How-tos

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
<?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
4 followers
Viewed: 14 545 times
Version: 1.1
Category: How-tos
Written by: Tibor Katelbach
Last updated by: Maurizio Domba Cerin
Created on: Dec 18, 2012
Last updated: 11 years ago
Update Article

Revisions

View all history