# cakephp-timezone **Repository Path**: mirrors_CakeDC/cakephp-timezone ## Basic Information - **Project Name**: cakephp-timezone - **Description**: A user friendly timezone picker - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2026-03-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # CakePHP Timezone Helper Plugin Generates a user-friendly dropdown which is based on a users Country and current time. ![screen](/timezone-screen.png) ### Installation _[Manual]_ * Download this: [http://github.com/robmcvey/cakephp-timezone/zipball/master](http://github.com/robmcvey/cakephp-timezone/zipball/master) * Unzip that download. * Copy the resulting folder to `app/Plugin` * Rename the folder you just copied to `Timezone` _[GIT Submodule]_ In your app directory type: ```shell git submodule add -b master git://github.com/robmcvey/cakephp-timezone.git Plugin/Timezone git submodule init git submodule update ``` _[GIT Clone]_ In your `Plugin` directory type: ```shell git clone -b master git://github.com/robmcvey/cakephp-timezone.git Timezone ``` ### Usage Remember to add `CakePlugin::load('Timezone');` to your app's bootstrap file. Then add the helper to any of your controllers using; ```php public $helpers = array('Timezone.Timezone'); ``` In your view, you can then show a timezone select from within a form. E.g. ```php Form->create('Post'); echo $this->Timezone->select('timezone'); echo $this->Form->end(__('Submit')); ``` ### Generated markup ```html ```