Home
last modified time | relevance | path

Searched refs:date_format (Results 1 – 25 of 31) sorted by relevance

12

/PHP-7.4/ext/date/tests/
H A Drfc-datetime_and_daylight_saving_time-type1.phpt9 $date_format = 'Y-m-d H:i:s e';
18 echo 'fd1 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
23 echo 'fd2 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
28 echo 'fd3 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
33 echo 'fd4 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
38 echo 'fd5 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
43 echo 'fd6 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
48 echo 'fd7 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
149 echo 'bd1 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
154 echo 'bd2 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
[all …]
H A Drfc-datetime_and_daylight_saving_time-type2.phpt9 $date_format = 'Y-m-d H:i:s T e';
18 echo 'fd1 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
23 echo 'fd2 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
28 echo 'fd3 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
33 echo 'fd4 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
38 echo 'fd5 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
43 echo 'fd6 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
48 echo 'fd7 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
149 echo 'bd1 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
154 echo 'bd2 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
[all …]
H A Ddate_format_basic1.phpt2 Test date_format() function : basic functionality
14 echo "*** Testing date_format() : basic functionality ***\n";
17 var_dump( date_format($date, "F j, Y, g:i a") );
18 var_dump( date_format($date, "m.d.y") );
19 var_dump( date_format($date, "j, n, Y") );
20 var_dump( date_format($date, "Ymd") );
21 var_dump( date_format($date, 'h-i-s, j-m-y, it is w Day') );
23 var_dump( date_format($date, "D M j G:i:s T Y") );
24 var_dump( date_format($date, 'H:m:s \m \i\s\ \m\o\n\t\h') );
25 var_dump( date_format($date, "H:i:s") );
[all …]
H A Drfc-datetime_and_daylight_saving_time-type3-ba.phpt9 $date_format = 'Y-m-d H:i:s T e';
20 . $start->add($interval)->format($date_format) . "\n";
26 . $start->add($interval)->format($date_format) . "\n";
32 . $start->add($interval)->format($date_format) . "\n";
38 . $start->add($interval)->format($date_format) . "\n";
44 . $start->add($interval)->format($date_format) . "\n";
50 . $start->add($interval)->format($date_format) . "\n";
56 . $start->add($interval)->format($date_format) . "\n";
62 . $start->add($interval)->format($date_format) . "\n";
68 . $start->add($interval)->format($date_format) . "\n";
[all …]
H A Drfc-datetime_and_daylight_saving_time-type3-bs.phpt10 $date_format = 'Y-m-d H:i:s T e';
22 . $end->sub($interval)->format($date_format) . "\n";
28 . $end->sub($interval)->format($date_format) . "\n";
34 . $end->sub($interval)->format($date_format) . "\n";
40 . $end->sub($interval)->format($date_format) . "\n";
47 . $end->sub($interval)->format($date_format) . "\n";
54 . $end->sub($interval)->format($date_format) . "\n";
60 . $end->sub($interval)->format($date_format) . "\n";
67 . $end->sub($interval)->format($date_format) . "\n";
73 . $end->sub($interval)->format($date_format) . "\n";
[all …]
H A Drfc-datetime_and_daylight_saving_time-type3-fd.phpt9 $date_format = 'Y-m-d H:i:s T e';
18 echo 'fd1 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
23 echo 'fd2 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
28 echo 'fd3 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
33 echo 'fd4 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
38 echo 'fd5 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
43 echo 'fd6 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
48 echo 'fd7 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
H A Drfc-datetime_and_daylight_saving_time-type3-fs.phpt11 $date_format = 'Y-m-d H:i:s T e';
21 echo 'fs1 ' . $end->format($date_format) . " - $interval_spec = "
22 . $end->sub($interval)->format($date_format) . "\n";
27 echo 'fs2 ' . $end->format($date_format) . " - $interval_spec = "
28 . $end->sub($interval)->format($date_format) . "\n";
33 echo 'fs3 ' . $end->format($date_format) . " - $interval_spec = "
34 . $end->sub($interval)->format($date_format) . "\n";
40 . $end->sub($interval)->format($date_format) . "\n";
46 . $end->sub($interval)->format($date_format) . "\n";
52 . $end->sub($interval)->format($date_format) . "\n";
[all …]
H A Drfc-datetime_and_daylight_saving_time-type3-fa.phpt9 $date_format = 'Y-m-d H:i:s T e';
19 echo 'fa1 ' . $start->format($date_format) . " + $interval_spec = "
20 . $start->add($interval)->format($date_format) . "\n";
25 echo 'fa2 ' . $start->format($date_format) . " + $interval_spec = "
26 . $start->add($interval)->format($date_format) . "\n";
31 echo 'fa3 ' . $start->format($date_format) . " + $interval_spec = "
32 . $start->add($interval)->format($date_format) . "\n";
37 echo 'fa4 ' . $start->format($date_format) . " + $interval_spec = "
38 . $start->add($interval)->format($date_format) . "\n";
44 . $start->add($interval)->format($date_format) . "\n";
[all …]
H A Drfc-datetime_and_daylight_saving_time-type3-bd1.phpt9 $date_format = 'Y-m-d H:i:s T e';
18 echo 'bd1 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
23 echo 'bd2 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
28 echo 'bd3 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
33 echo 'bd4 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
38 echo 'bd7 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
H A Drfc-datetime_and_daylight_saving_time-type3-bd2.phpt11 $date_format = 'Y-m-d H:i:s T e';
29 echo 'bd0 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
35 echo 'bd5 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
41 echo 'bd6 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
47 echo 'bd8 ' . $end->format($date_format) . ' - ' . $start->format($date_format)
H A Ddate_modify-1.phpt7 echo date_format($ts, 'D, d M Y H:i:s T'), "\n";
9 echo date_format($ts, 'D, d M Y H:i:s T'), "\n";
13 echo date_format($ts, 'D, d M Y H:i:s T'), "\n";
15 echo date_format($ts, 'D, d M Y H:i:s T'), "\n";
18 echo date_format($ts, 'D, d M Y H:i:s T'), "\n";
20 echo date_format($ts, 'D, d M Y H:i:s T'), "\n";
H A Ddate_time_set_basic1.phpt19 echo "Initial date: " . date_format($datetime, DATE_RFC2822) . "\n";
22 echo "After modification1 " . date_format($datetime, DATE_RFC2822) . "\n";
25 echo "After modification2 " . date_format($datetime, DATE_RFC2822) . "\n";
28 echo "After modification3 " . date_format($datetime, DATE_RFC2822) . "\n";
31 echo "After modification4 " . date_format($datetime, DATE_RFC2822) . "\n";
34 echo "After modification5 " . date_format($datetime, DATE_RFC2822) . "\n";
H A Dbug52577.phpt8 $date_format = DATE_RFC2822;
11 echo "Date(PHP): ".date($date_format,$unixtime)."\n";
13 echo "DateTime(PHP Class): ".$date->format($date_format);
H A DDateTime_format_basic2.phpt2 Test date_format() function : basic functionality
8 * Alias to functions: date_format
14 echo "*** Testing date_format() : basic functionality - formatting coinstants ***\n";
32 *** Testing date_format() : basic functionality - formatting coinstants ***
H A Ddate_modify_basic1.phpt20 echo "After modification 1: " . date_format($datetime, "D, d M Y") . "\n";
23 echo "After modification 2: " . date_format($datetime, "D, d M Y H:i:s") . "\n";
26 echo "After modification 3: " . date_format($datetime, "D, d M Y") . "\n";
29 echo "After modification 4: " . date_format($datetime, "D, d M Y") . "\n";
H A Ddate_modify-2.phpt7 echo date_format($d, 'D, d M Y H:i:s T'), "\n";
9 echo date_format($d, 'D, d M Y H:i:s T'), "\n";
H A Ddate_isodate_set_basic1.phpt21 echo "Week 40 of 2009 is in \"" . date_format($datetime, "F") . "\"\n";
25 echo "Week 30 day 3 of 2009 is \"" . date_format($datetime, "D M j") . "\"\n";
29 echo "..same day last year was \"" . date_format($datetime, "D M j") . "\"\n";
H A Ddate_date_set_basic1.phpt18 echo date_format($datetime, DATE_RFC2822) . "\n";
22 echo date_format($datetime, DATE_RFC2822) . "\n";
H A Dbug49585.phpt2 Bug #49585 (date_format buffer not long enough for >4 digit years)
H A Ddate_timestamp_set.phpt16 var_dump(date_format($dtms021, 'B => (U) => T Y-M-d H:i:s'));
H A Dbug48058.phpt14 echo date_format( $dt, DATE_ISO8601 );
H A Dcall_function_from_method.phpt14 return date_format($this->date, 'Y');
H A Dbug42910.phpt23 var_dump(date_format($date, 'O e'));
/PHP-7.4/ext/opcache/tests/
H A Djmp_elim_002.phpt26 $archive_day_date_format = get_option( 'date_format' );
/PHP-7.4/ext/pdo_firebird/
H A Dphp_pdo_firebird_int.h85 char *date_format; member

Completed in 40 milliseconds

12