Home
last modified time | relevance | path

Searched refs:datetime (Results 26 – 50 of 65) sorted by relevance

123

/php-src/ext/date/tests/
H A DDateTimeImmutable_modify_invalid_format.phpt6 $datetime = new DateTimeImmutable;
8 var_dump($datetime->modify(''));
H A Dbug63435.phpt8 $datetime = Datetime::createFromFormat("u", sprintf("%06ld", $i));
9 $res = $datetime->format("u");
H A DDateTime_inherited_serialization.phpt10 string $datetime = "now",
14 parent::__construct($datetime, $timezone);
H A DDateTimeImmutable_inherited_serialization.phpt10 string $datetime = "now",
14 parent::__construct($datetime, $timezone);
H A Dbug64887.phpt25 $datetime = new DateTimeImmutable( "2016-10-07 13:25:50" );
29 echo $datetime->modify( $test )->format( 'Y-m-d H:i:s.u' ), "\n";
H A Dbug72963.phpt87 DateTime::createFromFormat(): Argument #2 ($datetime) must not contain any null bytes
88 DateTimeImmutable::createFromFormat(): Argument #2 ($datetime) must not contain any null bytes
89 date_parse_from_format(): Argument #2 ($datetime) must not contain any null bytes
H A Dbug68078.phpt2 Comparing datetime objects should account for microseconds
H A D68062.phpt18 TypeError: DateTimeZone::getOffset(): Argument #1 ($datetime) must be of type DateTimeInterface, in…
H A Ddate_interval_create_from_date_string_nullparam.phpt11 Deprecated: date_interval_create_from_date_string(): Passing null to parameter #1 ($datetime) of ty…
H A Dbug68078_negative.phpt2 Comparing datetime objects with negative timestamps should account for microseconds
H A Dbug48097.phpt2 Bug #48097 (date_timezone_set function produces wrong datetime result)
H A Dbug72719.phpt2 Bug #72719: Relative datetime format ignores weekday on sundays only
H A Dmktime-1.phpt11 # was added to datetime.c to take care of this
H A Dbug67118.phpt7 class mydt extends datetime
/php-src/ext/intl/tests/
H A Dgh12243.phpt9 $datetime = new \DateTime('2017-05-12 23:11:00 GMT+2');
16 timezone: $datetime->getTimezone(),
/php-src/ext/pdo_dblib/tests/
H A Dtypes.phpt35 CAST('2030-01-01 23:59:59' AS DATETIME) AS [datetime],
48 var_dump($row['datetime']);
61 var_dump($row['datetime']);
H A Dbug_54648.phpt15 …st('1950-01-18 23:00:00' as smalldatetime) as sdt, cast('2030-01-01 23:59:59' as datetime) as dt");
H A Ddatetime_convert.phpt16 $sql = "SELECT convert(datetime, '20171027 10:22:44.135') AS [d]";
/php-src/ext/mysqli/tests/bind_insert/
H A Ddatetime_types.phpt2 mysqli insert (bind_param + bind_result) datetime types
27 c5 datetime,
/php-src/Zend/tests/parameter_default_values/
H A Dinternal_declaration_error_null.phpt13 …t be compatible with DateTime::createFromFormat(string $format, string $datetime, ?DateTimeZone $t…
/php-src/ext/phar/tests/zip/
H A Dgh10766.phpt2 GH-10766 (PharData archive created with Phar::Zip format does not keep files metadata (datetime))
/php-src/ext/mysqli/tests/
H A Dmysqli_fetch_all_oo.phpt212 $datetime = @date('Y-m-d H:i:s');
213 func_mysqli_fetch_all_oo($link, $engine, "DATETIME", $datetime, $datetime, 440);
214 func_mysqli_fetch_all_oo($link, $engine, "DATETIME NOT NULL", $datetime, $datetime, 450);
217 func_mysqli_fetch_all_oo($link, $engine, "TIMESTAMP", $datetime, $datetime, 470);
/php-src/ext/date/
H A Dphp_date_arginfo.h5 ZEND_ARG_TYPE_INFO(0, datetime, IS_STRING, 0)
69 ZEND_ARG_TYPE_INFO(0, datetime, IS_STRING, 0)
75 ZEND_ARG_TYPE_INFO(0, datetime, IS_STRING, 0)
80 ZEND_ARG_TYPE_INFO(0, datetime, IS_STRING, 0)
85 ZEND_ARG_TYPE_INFO(0, datetime, IS_STRING, 0)
172 ZEND_ARG_OBJ_INFO(0, datetime, DateTimeInterface, 0)
197 ZEND_ARG_TYPE_INFO(0, datetime, IS_STRING, 0)
281 ZEND_ARG_TYPE_INFO(0, datetime, IS_STRING, 0)
359 ZEND_ARG_TYPE_INFO(0, datetime, IS_STRING, 0)
434 ZEND_ARG_OBJ_INFO(0, datetime, DateTimeInterface, 0)
[all …]
/php-src/ext/mysqli/tests/bind_fetch/
H A Ddatetime_types.phpt26 c5 datetime,
/php-src/ext/intl/
H A Dphp_intl.stub.php266 function intlcal_from_date_time(DateTime|string $datetime, ?string $locale = null): ?IntlCalendar {} argument
368 /** @param IntlCalendar|DateTimeInterface|array|string|int|float $datetime */
369 function datefmt_format(IntlDateFormatter $formatter, $datetime): string|false {} argument
372 * @param IntlCalendar|DateTimeInterface $datetime
375 function datefmt_format_object($datetime, $format = null, ?string $locale = null): string|false {} argument

Completed in 56 milliseconds

123