Lines Matching refs:timezone
52 …private static $timezone = null; //Timezone String e.g Asia/Tehran, Defaults to Server Timezone Se… variable in jDateTime
69 public function __construct($convert = null, $jalali = null, $timezone = null) argument
73 if ( $timezone !== null ) self::$timezone = $timezone;
93 …public static function date($format, $stamp = false, $convert = null, $jalali = null, $timezone = … argument
97 …$timezone = ($timezone != null) ? $timezone : ((self::$timezone != null) ? self::$timezone : date_…
98 $obj = new DateTime('@' . $stamp, new DateTimeZone($timezone));
99 $obj->setTimezone(new DateTimeZone($timezone));
262 public static function gDate($format, $stamp = false, $timezone = null) argument
264 return self::date($format, $stamp, false, false, $timezone);
284 …tatic function strftime($format, $stamp = false, $convert = null, $jalali = null, $timezone = null) argument
310 return self::date($format, $stamp, $convert, $jalali, $timezone);
338 …tic function mktime($hour, $minute, $second, $month, $day, $year, $jalali = null, $timezone = null) argument
353 if ( self::$timezone != null || $timezone != null ) {
354 … $obj = new DateTime($date, new DateTimeZone(($timezone != null) ? $timezone : self::$timezone));