Home
last modified time | relevance | path

Searched refs:Y (Results 26 – 50 of 273) sorted by relevance

1234567891011

/PHP-5.5/ext/date/tests/
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 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 Dforward-transition-construction.phpt8 echo $date->format('Y-m-d H:i:s T/e - U') . "\n";
11 echo $date->format('Y-m-d H:i:s T/e - U') . "\n";
14 echo $date->format('Y-m-d H:i:s T/e - U') . "\n";
17 echo $date->format('Y-m-d H:i:s T/e - U') . "\n";
20 echo $date->format('Y-m-d H:i:s T/e - U') . "\n";
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 Dtest-parse-from-format.phpt24 string(13) "Y-m-d\TH:i:sP"
35 string(16) "l, d-M-Y H:i:s T"
46 string(13) "Y-m-d\TH:i:sO"
90 string(16) "D, d M Y H:i:s O"
101 string(16) "D, d M Y H:i:s O"
112 string(13) "Y-m-d\TH:i:sP"
123 string(16) "D, d M Y H:i:s O"
134 string(13) "Y-m-d\TH:i:sP"
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 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 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";
H A Dbug62896.phpt12 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n";
15 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n";
21 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n";
24 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n";
29 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n";
32 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n";
H A D012.phpt9 var_dump($dto->format("Y/m/d H:i:s"));
11 var_dump($dto->format("Y/m/d H:i:s"));
13 var_dump($dto->format("Y/m/d H:i:s"));
15 var_dump($dto->format("Y/m/d H:i:s"));
17 var_dump($dto->format("Y/m/d H:i:s"));
H A D013.phpt9 var_dump($dto->format("Y.m.d H:i:s"));
11 var_dump($dto->format("Y.m.d H:i:s"));
13 var_dump($dto->format("Y.m.d H:i:s"));
15 var_dump($dto->format("Y.m.d H:i:s"));
17 var_dump($dto->format("Y.m.d H:i:s"));
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 Dbug55253.phpt15 echo 'Zone Type 3: ' . $date3->format('Y-m-d H:i:s T') . "\n";
16 echo 'Zone Type 2: ' . $date2->format('Y-m-d H:i:s T') . "\n";
22 echo 'Zone Type 3: ' . $date3->format('Y-m-d H:i:s T') . "\n";
23 echo 'Zone Type 2: ' . $date2->format('Y-m-d H:i:s T') . "\n";
33 echo 'Zone Type 3: ' . $date3->format('Y-m-d H:i:s T') . "\n";
34 echo 'Zone Type 2: ' . $date2->format('Y-m-d H:i:s T') . "\n";
H A Dbug52290.phpt12 var_dump($dt->format('o-\WW-N | Y-m-d | H:i:s | U'));
15 var_dump($dt->format('o-\WW-N | Y-m-d | H:i:s | U'));
18 var_dump($dt->format('o-\WW-N | Y-m-d | H:i:s | U'));
21 var_dump($dt->format('o-\WW-N | Y-m-d | H:i:s | U'));
H A Dstrtotime_basic.phpt16 var_dump(date('Y-m-d', strtotime('1 Monday December 2008')));
21 var_dump(date('Y-m-d', strtotime('2 Monday December 2008')));
26 var_dump(date('Y-m-d', strtotime('3 Monday December 2008')));
30 var_dump(date('Y-m-d', strtotime('first Monday December 2008')));
34 var_dump(date('Y-m-d', strtotime('second Monday December 2008')));
38 var_dump(date('Y-m-d', strtotime('third Monday December 2008')));
H A Dbug54597.phpt9 echo $dateObject->format( 'Y' ), "\n";
11 echo $dateObject->format( 'Y' ), "\n";
13 echo $dateObject->format( 'Y' ), "\n";
H A Dbug67109.phpt7 var_dump(date('d.m.Y',strtotime('last day of april')));
8 var_dump(date('d.m.Y',strtotime('Last day of april')));
9 var_dump(date('d.m.Y',strtotime('lAst Day of April')));
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 Dbug26317.phpt11 echo date("Y-m-d H:i:s\n", strtotime("2003-11-19 16:20:42 Z"));
12 echo date("Y-m-d H:i:s\n", strtotime("2003-11-19 09:20:42 T"));
13 echo date("Y-m-d H:i:s\n", strtotime("2003-11-19 19:20:42 C"));
/PHP-5.5/Zend/
H A Dbench.php117 $Y[$i] = $X[$i];
120 print "$Y[$last]\n";
140 $Y[$i] = $X[$i]; --$i;
141 $Y[$i] = $X[$i]; --$i;
142 $Y[$i] = $X[$i]; --$i;
143 $Y[$i] = $X[$i]; --$i;
144 $Y[$i] = $X[$i]; --$i;
153 print "$Y[$last]\n";
161 $Y[$i] = 0;
165 $Y[$i] += $X[$i];
[all …]
/PHP-5.5/ext/calendar/tests/
H A Djdtounix.phpt9 echo date("Y-m-d",jdtounix(2440588)). "\n";
10 echo date("Y-m-d",jdtounix(2452162)). "\n";
11 echo date("Y-m-d",jdtounix(2453926)). "\n";
/PHP-5.5/tests/classes/
H A Dmethod_call_variation_001.phpt2 In $a->$b[Y](), $b[Y] represents a method name on $a. But in $a->X[Y](), $a->X[Y] represents a glob…
/PHP-5.5/ext/standard/tests/file/
H A D005_basic.phpt24 print( @date('Y:M:D:H:i:s', fileatime(__FILE__)) )."\n";
25 print( @date('Y:M:D:H:i:s', filemtime(__FILE__)) )."\n";
26 print( @date('Y:M:D:H:i:s', filectime(__FILE__)) )."\n";
27 print( @date('Y:M:D:H:i:s', touch(dirname(__FILE__)."/005_basic.tmp")) )."\n";
30 print( @date('Y:M:D:H:i:s', fileatime(".")) )."\n";
31 print( @date('Y:M:D:H:i:s', filemtime(".")) )."\n";
32 print( @date('Y:M:D:H:i:s', filectime(".")) )."\n";
33 print( @date('Y:M:D:H:i:s', touch(dirname(__FILE__)."/005_basic")) )."\n";
/PHP-5.5/ext/standard/tests/serialize/
H A Dbug55798.phpt8 $a->{1} = 'Y';
15 string(51) "O:8:"stdClass":2:{s:1:"0";s:1:"X";s:1:"1";s:1:"Y";}"
17 string(51) "O:8:"stdClass":2:{s:1:"0";s:1:"X";s:1:"1";s:1:"Y";}"

Completed in 26 milliseconds

1234567891011