Searched refs:DateTime (Results 201 – 225 of 380) sorted by relevance
12345678910>>...16
/php-src/Zend/tests/type_declarations/variance/ |
H A D | suppressed_incompatible_return_type.phpt | 6 class MyDateTime extends DateTime 9 * @return DateTime|false
|
/php-src/ext/date/tests/ |
H A D | DatePeriod_wrong_recurrence_on_constructor.phpt | 6 new DatePeriod(new DateTime('yesterday'), new DateInterval('P1D'), 0); 12 new DatePeriod(new DateTime('yesterday'), new DateInterval('P1D'), -1);
|
H A D | bug45529.phpt | 10 $d = new DateTime('2008-01-01 12:00:00+0200'); 13 $d = new DateTime('2008-01-01 12:00:00+0200');
|
H A D | bug71700.phpt | 7 $date1 = new \DateTime('2016-03-01'); 8 $date2 = new \DateTime('2016-03-31');
|
H A D | bug80664.phpt | 2 Bug #80664 (DateTime objects behave incorrectly around DST transition) 5 $dt = new DateTime('@1604215800'); 15 $dt = new DateTime('@1604219400');
|
H A D | bug77571.phpt | 2 Bug #77571 (DateTime's diff DateInterval incorrect in timezones from UTC+01:00 to UTC+12:00) 8 $date3 = DateTime::createFromFormat('Y-m-d H:i:s', '2019-04-01 00:00:00'); // 2019-04-01 00:00:00.…
|
H A D | bug39782.phpt | 2 Bug #39782 (setTime() on a DateTime constructed with a Weekday yields incorrect results) 7 $dttTest = new DateTime('Dec 10 2006 Next Wednesday');
|
H A D | DateTimeZone_uninitialised_exceptions.phpt | 2 DateTime uninitialised exceptions 7 class MyDateTime extends DateTime 33 $dt = new DateTime("2023-01-16 18:18"); 53 DateObjectError: Object of type MyDateTime (inheriting DateTime) has not been correctly initialized… 54 DateObjectError: Object of type MyDateTime (inheriting DateTime) has not been correctly initialized…
|
H A D | bug74639.phpt | 6 $start = new DateTime('2017-05-22 09:00:00'); 7 $end = new DateTime('2017-08-24 18:00:00');
|
H A D | bug75167.phpt | 2 Bug #75167 (DateTime::add does only care about backward DST transition, not forward) 9 $date = new DateTime("2014-3-30 00:00:00", $tz);
|
H A D | bug72963.phpt | 17 $d1 = DateTime::createFromFormat('!m/d/Y', $string); 40 object(DateTime)#1 (3) { 87 DateTime::createFromFormat(): Argument #2 ($datetime) must not contain any null bytes
|
H A D | bug46268.phpt | 2 Bug #46268 (When call DateTime#setTime, it seems to be called the last modify method too) 7 $now = new DateTime('2008-10-10 01:02:03');
|
H A D | bug48097.phpt | 18 object(DateTime)#1 (3) { 29 object(DateTime)#1 (3) {
|
H A D | bug52342.phpt | 2 Bug #52342 (DateTime setIsoDate results in wrong timestamp) 6 $from = new DateTime();
|
H A D | bug62561.phpt | 6 $ts = new DateTime('@1341115200', $tz); 8 $dayFromTs = new DateTime('@1341115200', new DateTimeZone('America/New_York'));
|
H A D | oo_001.phpt | 6 class _d extends DateTime { 19 $d = new DateTime; 30 new DateTime("1am todax"); 67 DateObjectError: Object of type _d (inheriting DateTime) has not been correctly initialized by call…
|
H A D | DatePeriod_properties1.phpt | 8 $start = new DateTime; 10 $end = new DateTime;
|
H A D | bug51819.phpt | 24 $oDateTime = new DateTime($sDate); 27 print_r(DateTime::getLastErrors());
|
H A D | bug65548.phpt | 12 $mToday = new DateTime('today'); 13 $mTomorrow = new DateTime('tomorrow');
|
H A D | bug73489.phpt | 6 $datetime = new DateTime('2016-11-09 20:00:00', new DateTimeZone('UTC')); 13 $datetime = new DateTime('2016-11-09 20:00:00', new DateTimeZone('UTC'));
|
H A D | bug62896.phpt | 11 $date = new DateTime('@'.strtotime('2012-08-22 00:00:00 CEST')); 19 $date = new DateTime('@'.strtotime('2012-08-22 00:00:00 CEST')); 28 $date = new DateTime('2012-08-22 00:00:00 CEST', $tz);
|
H A D | bug43808.phpt | 7 if ($date instanceof DateTime) { 12 var_dump( DateTime::getLastErrors() );
|
H A D | mktime_basic1.phpt | 8 echo "*** Testing DateTime::modify() : basic functionality ***\n"; 26 *** Testing DateTime::modify() : basic functionality ***
|
/php-src/ext/intl/tests/ |
H A D | msgfmt_format_datetime_icu72-1.phpt | 2 MessageFormatter::format(): DateTime accepted to format dates and times 18 $dt = new DateTime("2012-05-06 18:00:42", new DateTimeZone("Europe/Lisbon"));
|
H A D | calendar_setTimeZone_variation2.phpt | 17 $pstdate = new DateTime('2012-01-01 00:00:00 PST'); 21 $offsetdate = new DateTime('2012-01-01 00:00:00 -02:30');
|
Completed in 30 milliseconds
12345678910>>...16