Lines Matching refs:format

93 …public static function date($format, $stamp = false, $convert = null, $jalali = null, $timezone = …  argument
102 return $obj->format($format);
107 $chars = (preg_match_all('/([a-zA-Z]{1})/', $format, $chars)) ? $chars[0] : array();
115 $intactValues[$k] = $obj->format($v);
121 … list($year, $month, $day) = array($obj->format('Y'), $obj->format('n'), $obj->format('j'));
137 $v = self::getDayNames($obj->format('D'), true);
143 $v = self::getDayNames($obj->format('l'));
146 $v = self::getDayNames($obj->format('l'), false, 1, true);
152 $v = self::getDayNames($obj->format('l'), false, 1, true) - 1;
189 $v = $tmpObj->format('L');
200 $v = ($obj->format('a') == 'am') ? 'ق.ظ' : 'ب.ظ';
203 $v = ($obj->format('A') == 'AM') ? 'قبل از ظهر' : 'بعد از ظهر';
208 … $v .= $obj->format('H').':'.$obj->format('i').':'.$obj->format('s').$obj->format('P');
211 …$v = self::getDayNames($obj->format('D'), true).', '.sprintf('%02d', $jday).' '.self::getMonthNam…
212 …$v .= ' '.$jyear.' '.$obj->format('H').':'.$obj->format('i').':'.$obj->format('s').' '.$obj->forma…
216 $v = $obj->format('e');
219 $v = $obj->format('T');
233 $ret = strtr($format, array_combine($keys, $values));
262 public static function gDate($format, $stamp = false, $timezone = null) argument
264 return self::date($format, $stamp, false, false, $timezone);
284 …public static function strftime($format, $stamp = false, $convert = null, $jalali = null, $timezon… argument
307 $format = str_replace($str_format_code, $date_format_code, $format);
310 return self::date($format, $stamp, $convert, $jalali, $timezone);
361 return $obj->format('U');