Lines Matching refs:localtime

431 	PHP_FE(localtime, arginfo_localtime)
1118 static zend_string *date_format(char *format, size_t format_len, timelib_time *t, int localtime) in date_format() argument
1133 if (localtime) { in date_format()
1211 case 'I': length = slprintf(buffer, sizeof(buffer), "%d", localtime ? offset->is_dst : 0); break; in date_format()
1214 localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in date_format()
1215 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1217 localtime ? abs((offset->offset % 3600) / 60) : 0 in date_format()
1220 …case 'T': length = slprintf(buffer, sizeof(buffer), "%s", localtime ? offset->abbr : "GMT"); break; in date_format()
1221 case 'e': if (!localtime) { in date_format()
1241 case 'Z': length = slprintf(buffer, sizeof(buffer), "%d", localtime ? offset->offset : 0); break; in date_format()
1247 localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in date_format()
1248 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1249 localtime ? abs((offset->offset % 3600) / 60) : 0 in date_format()
1256 localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in date_format()
1257 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1258 localtime ? abs((offset->offset % 3600) / 60) : 0 in date_format()
1272 if (localtime) { in date_format()
1279 static void php_date(INTERNAL_FUNCTION_PARAMETERS, int localtime) in php_date() argument
1294 RETURN_STR(php_format_date(ZSTR_VAL(format), ZSTR_LEN(format), ts, localtime)); in php_date()
1298 PHPAPI zend_string *php_format_date(char *format, size_t format_len, time_t ts, int localtime) /* {… in php_format_date() argument
1306 if (localtime) { in php_format_date()
1316 string = date_format(format, format_len, t, localtime); in php_format_date()
1325 PHPAPI int php_idate(char format, time_t ts, int localtime) in php_idate() argument
1335 if (!localtime) { in php_idate()
1345 if (!localtime) { in php_idate()
1405 case 'I': retval = (int) (!localtime ? offset->is_dst : 0); break; in php_idate()
1406 case 'Z': retval = (int) (!localtime ? offset->offset : 0); break; in php_idate()
1411 if (!localtime) { in php_idate()
1789 PHP_FUNCTION(localtime) in PHP_FUNCTION() argument