i am building a web app on cakephp 2.2 ..i am newbie in cakephp and have never worked with a time..the problem is i want to show the time where the website is viewing .. for example if someone is viewing my website in Australia,he can see the time according to their country. and i want to show seperate date and time .. don't want to combine time and date
here what i am doing right now
in AppController i have done this
public function beforeRender(){
if ($this->Auth->login() || $this->Auth->loggedIn()) {
App::uses('CakeTime', 'Utility');
}}
dont know how to echo as well