In my App i have to get my local time ,I used this code :
$date = new Zend_Date();
$time = $date->get(Zend_Date::TIME_LONG);
But it gives me 7:51:00 AM UTC ,UTC time . Can someone help me to get my local time. Thanks.
In my App i have to get my local time ,I used this code :
$date = new Zend_Date();
$time = $date->get(Zend_Date::TIME_LONG);
But it gives me 7:51:00 AM UTC ,UTC time . Can someone help me to get my local time. Thanks.
Copyright © 2021 Jogjafile Inc.
Try This, and please refer document it is given in length in that..