src/Camroncade/Timezone/Timezone.php
public function convertFromUTC($timestamp, $timezone, $format = 'Y-m-d H:i:s')
	{
        $date = new DateTime($timestamp, new DateTimeZone('UTC'));

        $date->setTimezone(new DateTimeZone($timezone));

        return $date->format($format);
    }
public function convertFromUTC($timestamp, $timezone, $format = 'Y-m-d H:i:s')
	{
        $date = new DateTime($timestamp, new DateTimeZone('UTC'));

        $date->setTimezone(new DateTimeZone($timezone));

        return $date->format($format);
    }
public function convertFromUTC ( $ timestamp , $ timezone , $ format = 'Y-m-d H:i:s' ) { $ date = new DateTime ( $ timestamp , new DateTimeZone ( 'UTC' ) ) ; $ date -> setTimezone ( new DateTimeZone ( $ timezone ) ) ; return $ date -> format ( $ format ) ; }
@param integer $timestamp
@param string $timezone
@param string $format

@return string
@param integer $timestamp @param string $timezone @param string $format