Home
last modified time | relevance | path

Searched refs:Y (Results 51 – 75 of 273) sorted by path

1234567891011

/PHP-5.5/ext/date/tests/
H A Dbug30532.phpt8 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 EDT +1 hour'))."\n";
9 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 EDT +2 hours'))."\n";
10 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 EDT +3 hours'))."\n";
14 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 +1 hour'))."\n";
15 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 +2 hours'))."\n";
16 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 +3 hours'))."\n";
H A Dbug32086.phpt13 echo date("Y-m-d H:i:s T\n", $g);
14 echo date("Y-m-d H:i:s T\n", $i);
15 echo date("Y-m-d H:i:s T\n", $j);
16 echo date("Y-m-d H:i:s T\n", $k);
17 echo date("Y-m-d H:i:s T\n", $l);
24 echo date("Y-m-d H:i:s T\n", $g);
25 echo date("Y-m-d H:i:s T\n", $i);
26 echo date("Y-m-d H:i:s T\n", $j);
27 echo date("Y-m-d H:i:s T\n", $k);
28 echo date("Y-m-d H:i:s T\n", $l);
H A Dbug32270.phpt8 echo date("m/d/Y H:i:s T", -2145888000)."\n";
12 echo date("m/d/Y H:i:s T", -631123200)."\n";
16 echo date("m/d/Y H:i:s T", 946713600)."\n";
H A Dbug32588.phpt8 echo date('D Y/m/d/H:i:s', strtotime('last saturday', 1112703348)). "\n";
9 echo date('D Y/m/d/H:i:s', strtotime("last sunday", 1112703348)). "\n";
10 echo date('D Y/m/d/H:i:s', strtotime('last monday', 1112703348)). "\n";
H A Dbug33414-1.phpt10 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
18 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
26 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
34 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
43 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
51 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
59 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
67 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
75 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
83 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
[all …]
H A Dbug33414-2.phpt8 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
10 print "result=".date("l Y-m-d H:i:s T I", $strtotime_tstamp)."\n";
16 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
18 print "result=".date("l Y-m-d H:i:s T I", $strtotime_tstamp)."\n";
24 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
32 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
40 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
48 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
56 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
64 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
[all …]
H A Dbug33415-1.phpt10 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
12 print "result=".date("l Y-m-d H:i:s T I", $strtotime_tstamp)."\n";
18 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
20 print "result=".date("l Y-m-d H:i:s T I", $strtotime_tstamp)."\n";
H A Dbug33415-2.phpt10 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
18 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
27 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
36 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
44 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
53 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
61 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
70 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
79 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
87 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
[all …]
H A Dbug33452.phpt6 echo date('Y-W', strtotime('2005-1-1')), "\n";
H A Dbug33532.phpt20 print "strftime " . strftime("%r %B%e %Y %Z %z", $tStamp) . "\n";
21 print "datestr " . date ("H:i:s A F j Y T", $tStamp) . "\n";
29 print "strftime " . strftime("%r %B%e %Y %Z %z", $tStamp) . "\n";
30 print "datestr " . date ("H:i:s A F j Y T", $tStamp) . "\n";
H A Dbug33536.phpt7 print date("Y-m-d", strtotime("monkey")) ."\n";
8 print date("Y-m-d", false) ."\n";
H A Dbug33563.phpt6 $strCurrDate = date('Y-m-d H:i:s',strtotime('2005-06-30 21:04:23'));
7 $strMonAfter = date('Y-m-d H:i:s',strtotime('+1 month',strtotime($strCurrDate)));
H A Dbug33578.phpt6 echo date('m/d/Y', strtotime('Oct 11')), "\n";
7 echo date('m/d/Y', strtotime('11 Oct')), "\n";
8 echo date('m/d/Y', strtotime('11 Oct 2005')), "\n";
9 echo date('m/d/Y', strtotime('Oct11')), "\n";
10 echo date('m/d/Y', strtotime('11Oct')), "\n";
11 echo date('m/d/Y', strtotime('11Oct 2005')), "\n";
12 echo date('m/d/Y', strtotime('11Oct2005')), "\n";
H A Dbug34087.phpt2 Bug #34087 (strtotime() does not work with date format "Y/m/d")
6 echo "Y/m/d: ", strtotime("2005/8/12"), "\n";
7 echo "Y-m-d: ", strtotime("2005-8-12"), "\n";
15 Y/m/d: 1123804800
16 Y-m-d: 1123804800
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 Dbug38229.phpt6 echo date("Y-m", strtotime('2006-1'))."\n";
7 echo date("Y-m", strtotime('2006-03'))."\n";
8 echo date("Y-m", strtotime('2006-12'))."\n";
H A Dbug39782.phpt8 echo $dttTest->format('D M j Y - H:i:s') . "\n";
11 echo $dttTest->format('D M j Y - H:i:s') . "\n";
14 echo $dttTest->format('D M j Y - H:i:s') . "\n";
H A Dbug40861.phpt9 $result = date("Y-m-d H:i:s", strtotime("+$offset minutes", $ts));
14 $result = date("Y-m-d H:i:s", strtotime("+$offset minutes", $ts));
19 $result = date("Y-m-d H:i:s", strtotime("-$offset minutes", $ts));
25 $result = date("Y-m-d H:i:s", strtotime("+$offset minutes", $ts));
H A Dbug41599.phpt8 echo $start->format('Y-m-d H:i:s'),PHP_EOL;
12 echo $start->format('Y-m-d H:i:s'),PHP_EOL;
16 echo $start->format('Y-m-d H:i:s'),PHP_EOL;
20 echo $start->format('Y-m-d H:i:s'),PHP_EOL;
H A Dbug43003.phpt8 echo $oDateTest->getTimezone()->getName().": " . $oDateTest->format("Y-m-d H:i:s")."\n";
11 echo $oDateTest->getTimezone()->getName().": " . $oDateTest->format("Y-m-d H:i:s")."\n";
14 echo $oDateTest->getTimezone()->getName().": " . $oDateTest->format("Y-m-d H:i:s")."\n";
17 echo $oDateTest->getTimezone()->getName().": " . $oDateTest->format("Y-m-d H:i:s")."\n";
20 echo $oDateTest->getTimezone()->getName().": " . $oDateTest->format("Y-m-d H:i:s")."\n";
H A Dbug45554.phpt7 $format = "m-d-Y H:i:s.u T";
H A Dbug46268.phpt8 echo $now->format("Y-m-d H:i:s") . PHP_EOL;
11 echo $now->format("Y-m-d H:i:s") . PHP_EOL;
14 echo $now->format("Y-m-d H:i:s") . PHP_EOL;
18 echo $now->format("Y-m-d H:i:s") . PHP_EOL;
H A Dbug46874.phpt8 echo $date->format("Y-m-d H:i:s\n");
15 echo $date->format("Y-m-d H:i:s\n");
H A Dbug48276.phpt2 Bug #48276 (date("Y") prints wrong year on Big Endian machines)
7 var_dump(date("Y", 1245623227));
H A Dbug49059.phpt9 print "\$date1 at init: " . $date1->format("Y-m-d") . "\n";
10 print "\$date2 at init: " . $date2->format("Y-m-d") . "\n";
12 print "\$date1 after first diff: " . $date1->format("Y-m-d") . "\n";
15 print "\$date1 after sub: " . $date1->format("Y-m-d") . "\n";
18 $date1->format("Y-m-d") . "\n";
22 $date1->format("Y-m-d") . "\n";

Completed in 120 milliseconds

1234567891011