Lines Matching refs:localtime
401 PHP_FE(localtime, arginfo_localtime)
1009 static char *date_format(char *format, int format_len, timelib_time *t, int localtime) in date_format() argument
1023 if (localtime) { in date_format()
1037 localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in date_format()
1038 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1039 localtime ? abs((offset->offset % 3600) / 60) : 0 ); in date_format()
1099 case 'I': length = slprintf(buffer, 32, "%d", localtime ? offset->is_dst : 0); break; in date_format()
1102 localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in date_format()
1103 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1105 localtime ? abs((offset->offset % 3600) / 60) : 0 in date_format()
1108 case 'T': length = slprintf(buffer, 32, "%s", localtime ? offset->abbr : "GMT"); break; in date_format()
1109 case 'e': if (!localtime) { in date_format()
1129 case 'Z': length = slprintf(buffer, 32, "%d", localtime ? offset->offset : 0); break; in date_format()
1135 localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in date_format()
1136 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1137 localtime ? abs((offset->offset % 3600) / 60) : 0 in date_format()
1144 localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in date_format()
1145 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1146 localtime ? abs((offset->offset % 3600) / 60) : 0 in date_format()
1160 if (localtime) { in date_format()
1167 static void php_date(INTERNAL_FUNCTION_PARAMETERS, int localtime) in php_date() argument
1181 string = php_format_date(format, format_len, ts, localtime TSRMLS_CC); in php_date()
1187 PHPAPI char *php_format_date(char *format, int format_len, time_t ts, int localtime TSRMLS_DC) /* {… in php_format_date()
1195 if (localtime) { in php_format_date()
1205 string = date_format(format, format_len, t, localtime); in php_format_date()
1214 PHPAPI int php_idate(char format, time_t ts, int localtime TSRMLS_DC) in php_idate()
1224 if (!localtime) { in php_idate()
1234 if (!localtime) { in php_idate()
1248 !localtime ? ((offset->offset < 0) ? '-' : '+') : '+', in php_idate()
1249 !localtime ? abs(offset->offset / 3600) : 0, in php_idate()
1250 !localtime ? abs((offset->offset % 3600) / 60) : 0 ); in php_idate()
1293 case 'I': retval = (int) (!localtime ? offset->is_dst : 0); break; in php_idate()
1294 case 'Z': retval = (int) (!localtime ? offset->offset : 0); break; in php_idate()
1299 if (!localtime) { in php_idate()
1692 PHP_FUNCTION(localtime) in PHP_FUNCTION() argument