public static function formatTimestamp($timestamp, $format = self::DEFAULT_TIME_FORMAT, $timezone = self::DEFAULT_TIMEZONE)
{
$dateTime = new DateTime();
$dateTime->setTimestamp($timestamp);
$dateTime->setTimezone(new DateTimeZone($timezone));
return $dateTime->format($format);
}