Lines Matching refs:localtime

435 	PHP_FE(localtime, arginfo_localtime)
1129 static zend_string *date_format(char *format, size_t format_len, timelib_time *t, int localtime) in date_format() argument
1144 if (localtime) { in date_format()
1222 case 'I': length = slprintf(buffer, sizeof(buffer), "%d", localtime ? offset->is_dst : 0); break; in date_format()
1225 localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in date_format()
1226 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1228 localtime ? abs((offset->offset % 3600) / 60) : 0 in date_format()
1231 …case 'T': length = slprintf(buffer, sizeof(buffer), "%s", localtime ? offset->abbr : "GMT"); break; in date_format()
1232 case 'e': if (!localtime) { in date_format()
1252 case 'Z': length = slprintf(buffer, sizeof(buffer), "%d", localtime ? offset->offset : 0); break; in date_format()
1258 localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in date_format()
1259 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1260 localtime ? abs((offset->offset % 3600) / 60) : 0 in date_format()
1267 localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in date_format()
1268 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1269 localtime ? abs((offset->offset % 3600) / 60) : 0 in date_format()
1283 if (localtime) { in date_format()
1290 static void php_date(INTERNAL_FUNCTION_PARAMETERS, int localtime) in php_date() argument
1305 RETURN_STR(php_format_date(ZSTR_VAL(format), ZSTR_LEN(format), ts, localtime)); in php_date()
1309 PHPAPI zend_string *php_format_date(char *format, size_t format_len, time_t ts, int localtime) /* {… in php_format_date() argument
1317 if (localtime) { in php_format_date()
1327 string = date_format(format, format_len, t, localtime); in php_format_date()
1336 PHPAPI int php_idate(char format, time_t ts, int localtime) in php_idate() argument
1346 if (!localtime) { in php_idate()
1356 if (!localtime) { in php_idate()
1416 case 'I': retval = (int) (!localtime ? offset->is_dst : 0); break; in php_idate()
1417 case 'Z': retval = (int) (!localtime ? offset->offset : 0); break; in php_idate()
1422 if (!localtime) { in php_idate()
1802 PHP_FUNCTION(localtime) in PHP_FUNCTION() argument