Home
last modified time | relevance | path

Searched refs:strftime (Results 1 – 25 of 40) sorted by last modified time

12

/php-src/ext/date/
H A Dphp_date.c1327 …while ((real_len = strftime(ZSTR_VAL(buf), buf_len, ZSTR_VAL(format), &ta)) == buf_len || real_len… in php_strftime()
1357 PHP_FUNCTION(strftime) in PHP_FUNCTION() argument
H A Dphp_date.stub.php125 function strftime(string $format, ?int $timestamp = null): string|false {} function
H A Dphp_date_arginfo.h526 ZEND_FUNCTION(strftime);
/php-src/sapi/fpm/fpm/
H A Dzlog.c82 len = strftime(timebuf, timebuf_len, "[%d-%b-%Y %H:%M:%S", in zlog_print_time()
H A Dfpm_status.c484strftime(time_buffer, sizeof(time_buffer) - 1, time_format, localtime(&scoreboard_p->start_epoch)); in fpm_status_handle_request()
591 strftime(time_buffer, sizeof(time_buffer) - 1, time_format, localtime(&proc->start_epoch)); in fpm_status_handle_request()
H A Dfpm_log.c412 strftime(tmp, sizeof(tmp) - 1, "%d/%b/%Y:%H:%M:%S %z", localtime(t)); in fpm_log_write()
414 strftime(tmp, sizeof(tmp) - 1, format, localtime(t)); in fpm_log_write()
/php-src/ext/fileinfo/libmagic/
H A Dprint.c323 if (strftime(buf, bsize, "%a, %b %d %Y", &tm) == 0) in file_fmtdate()
342 if (strftime(buf, bsize, "%T", &tm) == 0) in file_fmttime()
/php-src/ext/pdo_firebird/
H A Dfirebird_statement.c494 size_t len = strftime(buf, sizeof(buf), fmt, &t); in pdo_firebird_stmt_get_col()
/php-src/ext/soap/
H A Dphp_encoding.c2876 while ((real_len = strftime(buf, buf_len, format, ta)) == buf_len || real_len == 0) { in to_xml_datetime_ex()
/php-src/sapi/fpm/
H A Dwww.conf.in342 ; it can accept a strftime(3) format:
344 ; The strftime(3) format must be encapsulated in a %{<strftime_format>}t tag
347 ; it can accept a strftime(3) format:
349 ; The strftime(3) format must be encapsulated in a %{<strftime_format>}t tag
/php-src/sapi/litespeed/
H A Dlsapi_main.c1579 strftime( time_buf, 30, "%d/%b/%Y:%H:%M:%S", localtime( &tv_req_end.tv_sec ) ); in main()
/php-src/ext/standard/tests/time/
H A Dstrptime_basic.phpt11 if (!@strftime('%Z')) die('skip strftime does not support %Z');
23 $str = strftime("%r %B%e %Y %Z", $tstamp);
26 $str = strftime("%T %D", $tstamp);
29 $str = strftime("%A %B %e %R", $tstamp);
37 Deprecated: Function strftime() is deprecated in %s on line %d
61 Deprecated: Function strftime() is deprecated in %s on line %d
85 Deprecated: Function strftime() is deprecated in %s on line %d
H A Dstrptime_parts.phpt8 if (!@strftime('%Z')) die('skip strftime does not support %Z');
21 $str = strftime("%r %B%e %Y %Z", $tstamp);
30 $str = strftime("%T %D", $tstamp);
39 $str = strftime("%A %B %e %R", $tstamp);
53 Deprecated: Function strftime() is deprecated in %s on line %d
63 Deprecated: Function strftime() is deprecated in %s on line %d
73 Deprecated: Function strftime() is deprecated in %s on line %d
/php-src/ext/standard/tests/strings/
H A Dbug65230.phpt25 printf("date: %s\n", strftime('%x', mktime(0, 0, 0, 12, 5, 2014)));
/php-src/ext/date/tests/
H A Dstrftime_basic.phpt2 Test strftime() function : basic functionality
5 echo "*** Testing strftime() : basic functionality ***\n";
12 // Calling strftime() with all possible arguments
13 var_dump( strftime($format, $timestamp) );
15 // Calling strftime() with mandatory arguments
16 var_dump( strftime($format) );
20 *** Testing strftime() : basic functionality ***
22 Deprecated: Function strftime() is deprecated in %s on line %d
25 Deprecated: Function strftime() is deprecated in %s on line %d
H A Dstrftime_variation10.phpt2 Test strftime() function : usage variation - Checking week related formats which are supported othe…
11 echo "*** Testing strftime() : usage variation ***\n";
28 var_dump( strftime($value) );
29 var_dump( strftime($value, $timestamp) );
34 *** Testing strftime() : usage variation ***
38 Deprecated: Function strftime() is deprecated in %s on line %d
41 Deprecated: Function strftime() is deprecated in %s on line %d
46 Deprecated: Function strftime() is deprecated in %s on line %d
49 Deprecated: Function strftime() is deprecated in %s on line %d
H A Dstrftime_variation11.phpt2 Test strftime() function : usage variation - Checking month related formats which was not supported…
5 echo "*** Testing strftime() : usage variation ***\n";
12 echo "\n-- Testing strftime() function with Abbreviated month name format %h --\n";
14 var_dump( strftime($format) );
15 var_dump( strftime($format, $timestamp) );
19 *** Testing strftime() : usage variation ***
21 -- Testing strftime() function with Abbreviated month name format %h --
23 Deprecated: Function strftime() is deprecated in %s on line %d
26 Deprecated: Function strftime() is deprecated in %s on line %d
H A Dstrftime_variation12.phpt2 Test strftime() function : usage variation - Checking month related formats which are supported oth…
11 echo "*** Testing strftime() : usage variation ***\n";
18 echo "\n-- Testing strftime() function with Abbreviated month name format %h --\n";
20 var_dump( strftime($format) );
21 var_dump( strftime($format, $timestamp) );
25 *** Testing strftime() : usage variation ***
27 -- Testing strftime() function with Abbreviated month name format %h --
29 Deprecated: Function strftime() is deprecated in %s on line %d
32 Deprecated: Function strftime() is deprecated in %s on line %d
H A Dstrftime_variation13.phpt5 echo "*** Testing strftime() : usage variation ***\n";
24 var_dump( strftime($value) );
25 var_dump( strftime($value, $timestamp) );
30 *** Testing strftime() : usage variation ***
34 Deprecated: Function strftime() is deprecated in %s on line %d
37 Deprecated: Function strftime() is deprecated in %s on line %d
42 Deprecated: Function strftime() is deprecated in %s on line %d
45 Deprecated: Function strftime() is deprecated in %s on line %d
50 Deprecated: Function strftime() is deprecated in %s on line %d
53 Deprecated: Function strftime() is deprecated in %s on line %d
[all …]
H A Dstrftime_variation14.phpt11 echo "*** Testing strftime() : usage variation ***\n";
30 var_dump( strftime($value) );
31 var_dump( strftime($value, $timestamp) );
36 *** Testing strftime() : usage variation ***
40 Deprecated: Function strftime() is deprecated in %s on line %d
43 Deprecated: Function strftime() is deprecated in %s on line %d
48 Deprecated: Function strftime() is deprecated in %s on line %d
51 Deprecated: Function strftime() is deprecated in %s on line %d
56 Deprecated: Function strftime() is deprecated in %s on line %d
59 Deprecated: Function strftime() is deprecated in %s on line %d
[all …]
H A Dstrftime_variation15.phpt2 Test strftime() function : usage variation - Checking time related formats which was not supported …
5 echo "*** Testing strftime() : usage variation ***\n";
23 var_dump( strftime($value) );
24 var_dump( strftime($value, $timestamp) );
29 *** Testing strftime() : usage variation ***
33 Deprecated: Function strftime() is deprecated in %s on line %d
36 Deprecated: Function strftime() is deprecated in %s on line %d
41 Deprecated: Function strftime() is deprecated in %s on line %d
44 Deprecated: Function strftime() is deprecated in %s on line %d
49 Deprecated: Function strftime() is deprecated in %s on line %d
[all …]
H A Dstrftime_variation16.phpt2 Test strftime() function : usage variation - Checking time related formats which are supported othe…
11 echo "*** Testing strftime() : usage variation ***\n";
29 var_dump( strftime($value) );
30 var_dump( strftime($value, $timestamp) );
35 *** Testing strftime() : usage variation ***
39 Deprecated: Function strftime() is deprecated in %s on line %d
42 Deprecated: Function strftime() is deprecated in %s on line %d
47 Deprecated: Function strftime() is deprecated in %s on line %d
50 Deprecated: Function strftime() is deprecated in %s on line %d
55 Deprecated: Function strftime() is deprecated in %s on line %d
[all …]
H A Dstrftime_variation17.phpt2 Test strftime() function : usage variation - Checking day related formats which was not supported o…
5 echo "*** Testing strftime() : usage variation ***\n";
12 echo "\n-- Testing strftime() function with Day of the month as decimal single digit format --\n";
14 var_dump( strftime($format) );
15 var_dump( strftime($format, $timestamp) );
18 *** Testing strftime() : usage variation ***
20 -- Testing strftime() function with Day of the month as decimal single digit format --
22 Deprecated: Function strftime() is deprecated in %s on line %d
25 Deprecated: Function strftime() is deprecated in %s on line %d
H A Dstrftime_variation18.phpt2 Test strftime() function : usage variation - Checking day related formats which are supported other…
11 echo "*** Testing strftime() : usage variation ***\n";
18 echo "\n-- Testing strftime() function with Day of the month as decimal single digit format --\n";
20 var_dump( strftime($format) );
21 var_dump( strftime($format, $timestamp) );
24 *** Testing strftime() : usage variation ***
26 -- Testing strftime() function with Day of the month as decimal single digit format --
28 Deprecated: Function strftime() is deprecated in %s on line %d
31 Deprecated: Function strftime() is deprecated in %s on line %d
H A Dstrftime_variation19.phpt2 Test strftime() function : usage variation - Checking newline and tab formats which was not support…
5 echo "*** Testing strftime() : usage variation ***\n";
22 var_dump( strftime($value) );
23 var_dump( strftime($value, $timestamp) );
28 *** Testing strftime() : usage variation ***
32 Deprecated: Function strftime() is deprecated in %s on line %d
36 Deprecated: Function strftime() is deprecated in %s on line %d
42 Deprecated: Function strftime() is deprecated in %s on line %d
45 Deprecated: Function strftime() is deprecated in %s on line %d

Completed in 74 milliseconds

12