Home
last modified time | relevance | path

Searched refs:strftime (Results 1 – 25 of 40) sorted by relevance

12

/PHP-8.0/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 ***
H A Dbug33532.phpt2 Bug #33532 (Different output for strftime() and date())
8 if(PHP_OS == 'Darwin' || defined('PHP_WINDOWS_VERSION_MAJOR')) die("skip strftime uses system TZ on…
9 if (!strftime('%Z')) die('skip strftime does not support %Z');
17 print "Should strftime==datestr? Strftime seems to assume GMT tStamp.\n";
21 print "strftime " . strftime("%r %B%e %Y %Z %z", $tStamp) . "\n";
30 print "strftime " . strftime("%r %B%e %Y %Z %z", $tStamp) . "\n";
36 Should strftime==datestr? Strftime seems to assume GMT tStamp.
38 strftime 10:00:00 AM July 1 2005 UTC +0000
43 strftime 10:00:00 AM July 1 2005 AEST +1000
H A Dstrftime_variation8.phpt2 Test strftime() function : usage variation - Passing literal related strings to format argument.
5 echo "*** Testing strftime() : usage variation ***\n";
13 echo "\n-- Testing strftime() function with a literal % character to format --\n";
14 var_dump( strftime($format) );
15 var_dump( strftime($format, $timestamp) );
19 *** Testing strftime() : usage variation ***
21 -- Testing strftime() function with a literal % character to format --
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 --
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 --
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 --
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 --
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 ***
H A Dstrftime_variation9.phpt2 Test strftime() function : usage variation - Checking week related formats which was not supported …
5 echo "*** Testing strftime() : usage variation ***\n";
22 var_dump( strftime($value) );
23 var_dump( strftime($value, $timestamp) );
28 *** Testing strftime() : usage variation ***
H A Dstrftime_variation4.phpt2 Test strftime() function : usage variation - Passing month related format strings to format argumen…
5 echo "*** Testing strftime() : usage variation ***\n";
22 var_dump( strftime($value) );
23 var_dump( strftime($value, $timestamp) );
28 *** Testing strftime() : usage variation ***
H A Dstrftime_variation20.phpt2 Test strftime() function : usage variation - Checking newline and tab formats which are supported o…
11 echo "*** Testing strftime() : usage variation ***\n";
28 var_dump( strftime($value) );
29 var_dump( strftime($value, $timestamp) );
34 \*\*\* Testing strftime\(\) : usage variation \*\*\*
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 ***
H A Dstrftime_variation13.phpt2 Test strftime() function : usage variation - Checking date related formats which was not supported …
5 echo "*** Testing strftime() : usage variation ***\n";
24 var_dump( strftime($value) );
25 var_dump( strftime($value, $timestamp) );
30 *** Testing strftime() : usage variation ***
H A Dstrftime_variation21.phpt2 Test strftime() function : usage variation - Checking Preferred date and time representation on Win…
5 echo "*** Testing strftime() : usage variation ***\n";
23 var_dump( strftime($value) );
24 var_dump( strftime($value, $timestamp) );
29 *** Testing strftime() : usage variation ***
H A Dstrftime_variation3.phpt2 Test strftime() function : usage variation - Passing week related format strings to format argument.
5 echo "*** Testing strftime() : usage variation ***\n";
22 var_dump( strftime($value) );
23 var_dump( strftime($value, $timestamp) );
28 *** Testing strftime() : usage variation ***
H A Dstrftime_variation5.phpt2 Test strftime() function : usage variation - Passing date related format strings to format argument.
5 echo "*** Testing strftime() : usage variation ***\n";
24 var_dump( strftime($value) );
25 var_dump( strftime($value, $timestamp) );
30 *** Testing strftime() : usage variation ***
H A Dstrftime_variation14.phpt2 Test strftime() function : usage variation - Checking date related formats which are supported othe…
11 echo "*** Testing strftime() : usage variation ***\n";
30 var_dump( strftime($value) );
31 var_dump( strftime($value, $timestamp) );
36 *** Testing strftime() : usage variation ***
H A Dstrftime_variation7.phpt2 Test strftime() function : usage variation - Passing day related format strings to format argument.
5 echo "*** Testing strftime() : usage variation ***\n";
24 var_dump( strftime($value) );
25 var_dump( strftime($value, $timestamp) );
30 *** Testing strftime() : usage variation ***
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 ***
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 ***
H A D009.phpt2 strftime() and gmstrftime() tests
13 var_dump(strftime(""));
14 var_dump(strftime("%a %A %b %B %c %C %d %D %e %g %G %h %H %I %j %m %M %n %p %r %R %S %t %T %u %U %V…
15 var_dump(strftime("%%q %%a", $t));
16 var_dump(strftime("blah", $t));
H A D009_win32.phpt2 strftime() and gmstrftime() tests
17 var_dump(strftime(""));
19 var_dump(strftime("%a %A %b %B %c %d %H %I %j %m %M %p %S %U %W %w %x %X %y %Y %Z %z %%", $t));
21 var_dump(strftime("%%q %%a", $t));
23 var_dump(strftime("blah", $t));
H A Dstrftime_variation6.phpt2 Test strftime() function : usage variation - Passing time related format strings to format argument.
5 echo "*** Testing strftime() : usage variation ***\n";
26 var_dump( strftime($value) );
27 var_dump( strftime($value, $timestamp) );
32 *** Testing strftime() : usage variation ***
H A Dbug65184.phpt2 Test bug #65184 strftime() returns insufficient-length string under multibyte locales
15 $s = strftime('%A', 1372884126);
22 echo strlen(strftime('%A')), "\n";
/PHP-8.0/ext/standard/tests/time/
H A Dstrptime_basic.phpt9 if (!strftime('%Z')) die('skip strftime does not support %Z');
21 $str = strftime("%r %B%e %Y %Z", $tstamp);
24 $str = strftime("%T %D", $tstamp);
27 $str = strftime("%A %B %e %R", $tstamp);

Completed in 49 milliseconds

12