Home
last modified time | relevance | path

Searched refs:m (Results 126 – 150 of 488) sorted by path

12345678910>>...20

/PHP-7.4/ext/date/tests/
H A Dbug68669.phpt7 var_dump(DateTime::createFromFormat('Y/m/d H:i:s', '1995/06/08 12:34:56', null));
8 var_dump(DateTimeImmutable::createFromFormat('Y/m/d H:i:s', '1995/06/08 12:34:56', null));
H A Dbug69336.phpt7 var_dump(date('d.m.Y',strtotime('last day of april')));
8 var_dump(date('d.m.Y',strtotime('last tuesday of march 2015')));
9 var_dump(date('d.m.Y',strtotime('last wednesday of march 2015')));
10 var_dump(date('d.m.Y',strtotime('last wednesday of april 2015')));
11 var_dump(date('d.m.Y',strtotime('last wednesday of march 2014')));
12 var_dump(date('d.m.Y',strtotime('last wednesday of april 2014')));
H A Dbug69587.phpt9 var_dump(property_exists($interval, 'm'), isset($interval->m), empty($interval->m), empty($interval…
H A Dbug72096.phpt8 echo "Time:", gmdate('Y-m-d H:i:s = B', $unix), PHP_EOL;
9 echo "Time:", gmdate('Y-m-d H:i:s = B', $unix - 82 * 365 * 24 * 3600), PHP_EOL;
H A Dbug73091.phpt20 ["m"]=>
H A Dbug73294.phpt12 $result = $dt->format('Y-m-d H:i:s');
H A Dbug73858.phpt6 In the "verbose setup method" I'm trying setup the DateTime object myself
H A Dbug73942.phpt8 $dateFormat = $date->format('Y-m-d');
H A Dbug74057.phpt5 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Sun 2017-01-01")))."\n";
6 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Mon 2017-01-02")))."\n";
7 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Tue 2017-01-03")))."\n";
8 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Wed 2017-01-04")))."\n";
9 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Thu 2017-01-05")))."\n";
10 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Fri 2017-01-06")))."\n";
11 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Sat 2017-01-07")))."\n";
12 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Sun 2017-01-08")))."\n";
13 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Mon 2017-01-09")))."\n";
H A Dbug74639.phpt22 if ($interval->format('Y-m-d H:i:s') != $clonedInterval->format('Y-m-d H:i:s')) {
H A Dbug74652.phpt20 echo $dt->format( 'Y-m-d H:i:s' ), "\n";
H A Dbug79015.phpt5 $payload = 'O:12:"DateInterval":16:{s:1:"y";i:1;s:1:"m";i:0;s:1:"d";i:4;s:1:"h";i:0;s:1:"i";i:0;s:1…
12 ["m"]=>
H A Dbug79396-forward-transition-settime.phpt8 echo $date->setTime(2, 0)->format('Y-m-d H:i:s T/e - U') . "\n";
11 echo $date->setTime(2, 30)->format('Y-m-d H:i:s T/e - U') . "\n";
14 echo $date->setTime(3, 0)->format('Y-m-d H:i:s T/e - U') . "\n";
17 echo $date->setTime(1, 59, 59)->format('Y-m-d H:i:s T/e - U') . "\n";
H A Ddate-lenient-create.phpt8 print_r( date_create_from_format( 'm/d/y', $date , $tz) );
11 print_r( date_create_from_format( 'm/d/y+', $date , $tz)->setTime(0, 0) );
14 print_r( date_create_from_format( '+m/d/y', $date , $tz)->setTime(0, 0) );
17 print_r( date_create_from_format( 'm/d/y++', $date , $tz)->setTime(0, 0) );
22 print_r( date_create_from_format( 'm/d/y+', $date , $tz)->setTime(0, 0) );
25 print_r( date_create_from_format( '+m/d/y', $date , $tz)->setTime(0, 0) );
H A Ddate-lenient.phpt6 print_r( date_parse_from_format( 'm/d/y', $date ) );
7 print_r( date_parse_from_format( 'm/d/y+', $date ) );
8 print_r( date_parse_from_format( '+m/d/y', $date ) );
9 print_r( date_parse_from_format( 'm/d/y++', $date ) );
12 print_r( date_parse_from_format( 'm/d/y+', $date ) );
13 print_r( date_parse_from_format( '+m/d/y', $date ) );
H A Ddate-parse-by-format001.phpt6 print_r( date_parse_from_format( '!m/d/y', $date ) );
7 print_r( date_parse_from_format( '!m*d*y', $date ) );
H A Ddate-set-timestamp.phpt7 echo $d->format( "Y-m-d H:i e\n" );
11 echo $d->format( "Y-m-d H:i e\n" );
H A Ddate_add_basic.phpt18 $format = 'Y-m-d H:i:s';
H A Ddate_basic1.phpt18 var_dump( date("m.d.y", $timestamp) );
21 var_dump( date('h-i-s, j-m-y, it is w Day', $timestamp) );
24 var_dump( date('H:m:s \m \i\s\ \m\o\n\t\h', $timestamp) );
38 string(19) "10:02:30 m is month"
H A Ddate_create_from_format_basic2.phpt10 var_dump(date_create_from_format('Y-m-d', '2009---01')); // invalid date
H A Ddate_diff.phpt22 // echo $dates[$i]->format( "Y-m-d\n" );
28 $dates[$i]->format( 'Y-m-d' ),
29 $dates[$j]->format( 'Y-m-d' ),
31 $diff->format( '%y-%m-%d' )
48 $dates[$i]->format( 'Y-m-d' ), " + ",
49 $int->format( '%y-%m-%d' ), " = ",
50 $current->format( 'Y-m-d' ), " (",
51 $dates[$j]->format( 'Y-m-d' ), ")\n";
H A Ddate_diff1.phpt34 ["m"]=>
H A Ddate_format_basic1.phpt18 var_dump( date_format($date, "m.d.y") );
21 var_dump( date_format($date, 'h-i-s, j-m-y, it is w Day') );
24 var_dump( date_format($date, 'H:m:s \m \i\s\ \m\o\n\t\h') );
38 string(19) "22:07:41 m is month"
H A Ddate_interval_create_from_date_string.phpt17 var_dump($i->m);
H A Ddate_period-immutable.phpt14 echo $dt->format( "l Y-m-d\n" );
15 echo $dt->modify( "3 tuesday" )->format( "l Y-m-d\n" );
16 echo $dt->format( "l Y-m-d\n\n" );
22 echo $dt->format( "l Y-m-d\n" );
23 echo $dt->modify( "3 tuesday" )->format( "l Y-m-d\n" );
24 echo $dt->format( "l Y-m-d\n\n" );

Completed in 28 milliseconds

12345678910>>...20