Home
last modified time | relevance | path

Searched refs:localtime (Results 1 – 25 of 30) sorted by relevance

12

/PHP-8.0/ext/date/tests/
H A Dlocaltime_basic.phpt2 Test localtime() function : basic functionality
5 echo "*** Testing localtime() : basic functionality ***\n";
13 // Calling localtime() with all possible arguments
14 var_dump( localtime($timestamp, $associative_array) );
16 // Calling localtime() with possible optional arguments
17 var_dump( localtime($timestamp) );
19 // Calling localtime() with mandatory arguments
20 var_dump( localtime() );
24 *** Testing localtime() : basic functionality ***
H A D007.phpt2 localtime() tests
9 var_dump(localtime());
10 var_dump(localtime($t));
11 var_dump(localtime($t, true));
12 var_dump(localtime($t, false));
H A Dlocaltime_variation4.phpt2 Test localtime() function : usage variation - Passing octal values to timestamp.
5 echo "*** Testing localtime() : usage variation ***\n";
21 var_dump( localtime($value) );
22 var_dump( localtime($value, $is_associative) );
27 *** Testing localtime() : usage variation ***
H A Dlocaltime_variation5.phpt2 Test localtime() function : usage variation - Passing hexa decimal values to timestamp.
5 echo "*** Testing localtime() : usage variation ***\n";
21 var_dump( localtime($value) );
22 var_dump( localtime($value, $is_associative) );
27 *** Testing localtime() : usage variation ***
/PHP-8.0/ext/calendar/tests/
H A Dunixtojd.phpt25 // -easter_date() calls mktime() and localtime()
26 // -whereas unixtojd(1000000000) calls localtime(1000000000)
30 // -this incorrect localtime is passed to the julian date conversion (GregorianToSDN) function whi…
/PHP-8.0/ext/intl/tests/
H A Dbug75378.phpt14 $localdate = $formatter->localtime("2017-10-12 00:00:00", $position1);
H A Ddateformat_format_parse.phpt94 //Test format and parse with a localtime :array
97 $res_str .= "\nInput localtime is : ";
256 Input localtime is : tm_sec : '24' , tm_min : '3' , tm_hour : '19' , tm_mday : '3' , tm_mon : '3' ,…
270 Input localtime is : tm_sec : '21' , tm_min : '5' , tm_hour : '7' , tm_mday : '13' , tm_mon : '7' ,…
284 Input localtime is : tm_sec : '11' , tm_min : '13' , tm_hour : '0' , tm_mday : '17' , tm_mon : '11'…
H A Ddateformat_format_parse_version2.phpt94 //Test format and parse with a localtime :array
97 $res_str .= "\nInput localtime is : ";
256 Input localtime is : tm_sec : '24' , tm_min : '3' , tm_hour : '19' , tm_mday : '3' , tm_mon : '3' ,…
270 Input localtime is : tm_sec : '21' , tm_min : '5' , tm_hour : '7' , tm_mday : '13' , tm_mon : '7' ,…
284 Input localtime is : tm_sec : '11' , tm_min : '13' , tm_hour : '0' , tm_mday : '17' , tm_mon : '11'…
H A Ddateformat_format.phpt102 //Test format with input as a localtime :array
105 $res_str .= "\nInput localtime is : ";
276 Input localtime is : tm_sec : '24' , tm_min : '3' , tm_hour : '19' , tm_mday : '3' , tm_mon : '3' ,…
291 Input localtime is : tm_sec : '21' , tm_min : '5' , tm_hour : '7' , tm_mday : '13' , tm_mon : '4' ,…
306 Input localtime is : tm_sec : '11' , tm_min : '13' , tm_hour : '0' , tm_mday : '17' , tm_mon : '11'…
H A Ddateformat_format_variant2.phpt102 //Test format with input as a localtime :array
105 $res_str .= "\nInput localtime is : ";
276 Input localtime is : tm_sec : '24' , tm_min : '3' , tm_hour : '19' , tm_mday : '3' , tm_mon : '3' ,…
291 Input localtime is : tm_sec : '21' , tm_min : '5' , tm_hour : '7' , tm_mday : '13' , tm_mon : '4' ,…
306 Input localtime is : tm_sec : '11' , tm_min : '13' , tm_hour : '0' , tm_mday : '17' , tm_mon : '11'…
H A Ddateformat_format_variant3.phpt104 //Test format with input as a localtime :array
107 $res_str .= "\nInput localtime is : ";
278 Input localtime is : tm_sec : '24' , tm_min : '3' , tm_hour : '19' , tm_mday : '3' , tm_mon : '3' ,…
293 Input localtime is : tm_sec : '21' , tm_min : '5' , tm_hour : '7' , tm_mday : '13' , tm_mon : '4' ,…
308 Input localtime is : tm_sec : '11' , tm_min : '13' , tm_hour : '0' , tm_mday : '17' , tm_mon : '11'…
/PHP-8.0/ext/standard/tests/time/
H A Dstrptime_error.phpt2 Test localtime() function : error conditions
/PHP-8.0/ext/date/
H A Dphp_date.h114 PHPAPI int php_idate(char format, time_t ts, int localtime);
119 PHPAPI zend_string *php_format_date(const char *format, size_t format_len, time_t ts, int localtime
H A Dphp_date.c639 if (localtime) { in date_format()
727 localtime ? abs(offset->offset / 3600) : 0, in date_format()
733 case 'e': if (!localtime) { in date_format()
760 localtime ? abs(offset->offset / 3600) : 0, in date_format()
769 localtime ? abs(offset->offset / 3600) : 0, in date_format()
784 if (localtime) { in date_format()
819 if (localtime) { in php_format_date()
847 if (!localtime) { in php_idate()
857 if (!localtime) { in php_idate()
923 if (!localtime) { in php_idate()
[all …]
H A Dphp_date.stub.php29 function localtime(?int $timestamp = null, bool $associative = false): array {} function
H A Dphp_date_arginfo.h439 ZEND_FUNCTION(localtime);
522 ZEND_FE(localtime, arginfo_localtime)
/PHP-8.0/ext/date/lib/
H A Dtimelib_private.h134 int timelib_apply_localtime(timelib_time *t, unsigned int localtime);
H A Dunixtime2tm.c255 int timelib_apply_localtime(timelib_time *t, unsigned int localtime) in timelib_apply_localtime() argument
257 if (localtime) { in timelib_apply_localtime()
/PHP-8.0/ext/opcache/
H A Dzend_accelerator_debug.c41 time_string = asctime(localtime(&timestamp)); in zend_accel_error()
/PHP-8.0/ext/intl/dateformat/
H A Ddateformat.stub.php126 public function localtime(string $string, &$offset = null) {} function in IntlDateFormatter
H A Ddateformat_arginfo.h123 …ZEND_ME_MAPPING(localtime, datefmt_localtime, arginfo_class_IntlDateFormatter_localtime, ZEND_ACC_…
/PHP-8.0/main/
H A Dreentrancy.c118 tmp = localtime(timep); in php_localtime_r()
/PHP-8.0/sapi/fpm/fpm/
H A Dfpm_log.c391 strftime(tmp, sizeof(tmp) - 1, "%d/%b/%Y:%H:%M:%S %z", localtime(t)); in fpm_log_write()
393 strftime(tmp, sizeof(tmp) - 1, format, localtime(t)); in fpm_log_write()
H A Dfpm_status.c421 …strftime(time_buffer, sizeof(time_buffer) - 1, time_format, localtime(&scoreboard_p->start_epoch)); in fpm_status_handle_request()
500 strftime(time_buffer, sizeof(time_buffer) - 1, time_format, localtime(&proc->start_epoch)); in fpm_status_handle_request()
/PHP-8.0/ext/mysqlnd/
H A Dmysqlnd_debug.c94 if ((tm_p= localtime((const time_t *)&tv.tv_sec))) { in MYSQLND_METHOD()
191 if ((tm_p= localtime((const time_t *)&tv.tv_sec))) { in MYSQLND_METHOD()

Completed in 102 milliseconds

12