Home
last modified time | relevance | path

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

12

/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 since 8.1, use IntlDateFormatter::format() instead in…
25 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
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 --
23 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
26 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
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_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 since 8.1, use IntlDateFormatter::format() instead in…
26 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
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 since 8.1, use IntlDateFormatter::format() instead in…
25 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
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 since 8.1, use IntlDateFormatter::format() instead in…
32 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
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 since 8.1, use IntlDateFormatter::format() instead in…
31 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
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 ***
36 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
39 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
44 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
47 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
52 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
[all …]
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 ***
34 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
37 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
42 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
45 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
50 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
[all …]
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 ***
32 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
35 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
40 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
43 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
48 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
[all …]
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 ***
32 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
35 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
40 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
43 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
48 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
[all …]
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 ***
40 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
43 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
48 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
51 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
56 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
[all …]
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 ***
33 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
36 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
41 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
44 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
49 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
[all …]
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 ***
32 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
35 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
40 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
43 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
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 since 8.1, use IntlDateFormatter::format() instead in…
36 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
42 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
45 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
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 ***
34 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
37 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
42 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
45 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
50 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
[all …]
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 ***
34 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
37 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
42 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
45 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
50 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
[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 since 8.1, use IntlDateFormatter::format() instead in…
36 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
41 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
44 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
49 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
[all …]
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 since 8.1, use IntlDateFormatter::format() instead in…
41 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
46 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
49 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
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 ***
38 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
42 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
48 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
51 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
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 since 8.1, use IntlDateFormatter::format() instead in…
42 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
47 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
50 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
55 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
[all …]
H A Dbug65371.phpt11 echo strftime($str), "\n";
13 echo bin2hex(strftime($str));
22 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
26 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
H A Dstrftime_variation22.phpt2 Test strftime() function : usage variation - Checking Preferred date and time representation other …
14 echo "*** Testing strftime() : usage variation ***\n";
33 var_dump( strftime($value, $timestamp) );
38 *** Testing strftime() : usage variation ***
42 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
47 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
52 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
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));
26 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
29 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
33 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
36 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
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));
38 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
41 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
44 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
47 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…

Completed in 145 milliseconds

12