Home
last modified time | relevance | path

Searched refs:t (Results 251 – 275 of 1771) sorted by path

1...<<11121314151617181920>>...71

/PHP-7.4/ext/date/tests/
H A Dbig_year.phpt9 $t = mktime(0,0,0,1,1,2922770265);
11 var_dump(date("r", $t));
H A Dbug26090.phpt7 $t = '2003-10-28 10:20:30-0800';
8 echo date('Y-m-d H:i:s T', strtotime($t)) . "\n";
10 $t = '2003-10-28 10:20:30-08:00';
11 echo date('Y-m-d H:i:s T', strtotime($t)) . "\n";
H A Dbug32086.phpt2 Bug #32086 (strtotime don't work in DST)
H A Dbug33578.phpt2 Bug #33578 (strtotime() doesn't parse "11 Oct" format")
H A Dbug33869.phpt2 Bug #33869 (strtotime() doesn't parse "+1days" format)
H A Dbug34676.phpt12 $t = strtotime("2005-12-22 ". $test);
13 printf("%-10s => %s\n", $test, date(DATE_ISO8601, $t));
H A Dbug34771.phpt15 $t = strtotime("2005-12-22 ". $test);
16 printf("%-10s => %s\n", $test, date(DATE_ISO8601, $t));
H A Dbug35425.phpt9 foreach (array('B','d','h','H','i','I','L','m','s','t','U','w','W','y','Y','z','Z') as $v) {
H A Dbug35456.phpt7 $t = 1133216119;
9 echo date(DATE_ISO8601, strtotime("+ 1 day", $t)) . "\n";
10 echo date(DATE_ISO8601, strtotime("+ 1 month", $t)) . "\n";
11 echo date(DATE_ISO8601, strtotime("+ 1 week", $t)) . "\n";
H A Dbug35699.phpt2 Bug #35699 (date() can't handle leap years before 1970)
H A Dbug36510.phpt7 $t = 1140973388;
9 var_dump(strtotime("-2 hours", $t));
10 var_dump(strtotime("-2\thours", $t));
H A Dbug37514.phpt2 Bug #37514 (strtotime doesn't assume year correctly).
H A Dbug52063.phpt2 Bug #52063 (DateTime constructor's second argument doesn't have a null default value)
H A Dbug52738.phpt2 Bug #52738 (Can't use new properties in class extended from DateInterval)
H A Dbug54851.phpt2 Bug #54851 (DateTime::createFromFormat() doesn't interpret "D")
H A Dbug60236.phpt7 $t = new DateTime('2010-07-06 18:38:28 EDT');
8 $ts = $t->format('U');
10 $t->setTimestamp($ts);
11 var_dump($t);
H A Dbug65548.phpt2 Test for bug #65548: Comparison for DateTimeImmutable doesn't work
H A Dbug73942.phpt2 Bug #73942: $date->modify('Friday this week') doesn't return a Friday if $date is a Sunday
H A Ddate-time-modify-times.phpt20 'march 28, 01:15', // doesn't exist bcause of DST
H A Ddate_basic1.phpt22 var_dump( date('\i\t \i\s \t\h\e jS \d\a\y.', $timestamp) );
24 var_dump( date('H:m:s \m \i\s\ \m\o\n\t\h', $timestamp) );
H A Ddate_diff.phpt27 printf( "\t%s %s %3d %s\n",
H A Ddate_format_basic1.phpt22 var_dump( date_format($date, '\i\t \i\s \t\h\e jS \d\a\y.') );
24 var_dump( date_format($date, 'H:m:s \m \i\s\ \m\o\n\t\h') );
H A Ddefault-timezone-1.phpt6 putenv('TZ='); // clean TZ so that it doesn't bypass the ini option
H A Ddefault-timezone-2.phpt6 putenv('TZ='); // clean TZ so that it doesn't bypass the ini option
H A Dgmdate_variation6.phpt34 var_dump( gmdate('t') );
35 var_dump( gmdate('t', $timestamp) );

Completed in 23 milliseconds

1...<<11121314151617181920>>...71