Example #1
0
 /**
  * @see CakeTime::convert()
  *
  * @param string $serverTime UNIX timestamp
  * @param string|DateTimeZone $timezone User's timezone string or DateTimeZone object
  * @return integer UNIX timestamp
  * @link http://book.cakephp.org/2.0/en/core-libraries/helpers/time.html#formatting
  */
 public function convert($serverTime, $timezone)
 {
     return $this->_engine->convert($serverTime, $timezone);
 }