Home
last modified time | relevance | path

Searched refs:DateTime (Results 201 – 225 of 380) sorted by relevance

12345678910>>...16

/php-src/Zend/tests/type_declarations/variance/
H A Dsuppressed_incompatible_return_type.phpt6 class MyDateTime extends DateTime
9 * @return DateTime|false
/php-src/ext/date/tests/
H A DDatePeriod_wrong_recurrence_on_constructor.phpt6 new DatePeriod(new DateTime('yesterday'), new DateInterval('P1D'), 0);
12 new DatePeriod(new DateTime('yesterday'), new DateInterval('P1D'), -1);
H A Dbug45529.phpt10 $d = new DateTime('2008-01-01 12:00:00+0200');
13 $d = new DateTime('2008-01-01 12:00:00+0200');
H A Dbug71700.phpt7 $date1 = new \DateTime('2016-03-01');
8 $date2 = new \DateTime('2016-03-31');
H A Dbug80664.phpt2 Bug #80664 (DateTime objects behave incorrectly around DST transition)
5 $dt = new DateTime('@1604215800');
15 $dt = new DateTime('@1604219400');
H A Dbug77571.phpt2 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 Dbug39782.phpt2 Bug #39782 (setTime() on a DateTime constructed with a Weekday yields incorrect results)
7 $dttTest = new DateTime('Dec 10 2006 Next Wednesday');
H A DDateTimeZone_uninitialised_exceptions.phpt2 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 Dbug74639.phpt6 $start = new DateTime('2017-05-22 09:00:00');
7 $end = new DateTime('2017-08-24 18:00:00');
H A Dbug75167.phpt2 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 Dbug72963.phpt17 $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 Dbug46268.phpt2 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 Dbug48097.phpt18 object(DateTime)#1 (3) {
29 object(DateTime)#1 (3) {
H A Dbug52342.phpt2 Bug #52342 (DateTime setIsoDate results in wrong timestamp)
6 $from = new DateTime();
H A Dbug62561.phpt6 $ts = new DateTime('@1341115200', $tz);
8 $dayFromTs = new DateTime('@1341115200', new DateTimeZone('America/New_York'));
H A Doo_001.phpt6 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 DDatePeriod_properties1.phpt8 $start = new DateTime;
10 $end = new DateTime;
H A Dbug51819.phpt24 $oDateTime = new DateTime($sDate);
27 print_r(DateTime::getLastErrors());
H A Dbug65548.phpt12 $mToday = new DateTime('today');
13 $mTomorrow = new DateTime('tomorrow');
H A Dbug73489.phpt6 $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 Dbug62896.phpt11 $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 Dbug43808.phpt7 if ($date instanceof DateTime) {
12 var_dump( DateTime::getLastErrors() );
H A Dmktime_basic1.phpt8 echo "*** Testing DateTime::modify() : basic functionality ***\n";
26 *** Testing DateTime::modify() : basic functionality ***
/php-src/ext/intl/tests/
H A Dmsgfmt_format_datetime_icu72-1.phpt2 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 Dcalendar_setTimeZone_variation2.phpt17 $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