Home
last modified time | relevance | path

Searched refs:date_create (Results 1 – 25 of 60) sorted by relevance

123

/PHP-8.2/ext/date/tests/
H A Ddate_create-1.phpt2 date_create() function [1]
10 $d[] = date_create("2005-07-14 22:30:41");
11 $d[] = date_create("2005-07-14 22:30:41 GMT");
12 $d[] = date_create("2005-07-14 22:30:41 CET");
13 $d[] = date_create("2005-07-14 22:30:41 CEST");
14 $d[] = date_create("2005-07-14 22:30:41 Europe/Oslo");
17 $d[] = date_create("2005-07-14 22:30:41", $tz1);
18 $d[] = date_create("2005-07-14 22:30:41", $tz2);
19 $d[] = date_create("2005-07-14 22:30:41", $tz3);
21 $d[] = date_create("2005-07-14 22:30:41 GMT", $tz1);
[all …]
H A Ddate_create_basic.phpt2 Test date_create() function : basic functionality
8 echo "*** Testing date_create() : basic functionality ***\n";
10 var_dump( date_create() );
12 var_dump( date_create("GMT") );
13 var_dump( date_create("2005-07-14 22:30:41") );
14 var_dump( date_create("2005-07-14 22:30:41 GMT") );
18 *** Testing date_create() : basic functionality ***
H A Ddate_create-2.phpt2 date_create() function [2]
6 $d = date_create("2005-07-18 22:10:00 +0400");
9 $d = date_create("@1121710200 +0912");
H A Dbug50055.phpt7 $da1 = date_create( $now );
8 $ds1 = date_create( $now );
15 $da2 = date_create( $now );
16 $ds2 = date_create( $now );
H A Dbug62326.phpt7 $start_timestamp = date_create('2012-06-01');
8 $end_timestamp = date_create('2012-12-01');
H A Ddate_time_immutable.phpt22 $v = date_create($current);
32 $v = date_create($current);
42 $v = date_create($current);
52 $v = date_create($current);
66 $v = date_create($current);
76 $v = date_create($current);
86 $v = date_create($current);
96 $v = date_create($current);
H A DDateTimeImmutable_createFromInterface-001.phpt9 $i = DateTimeImmutable::createFromInterface( date_create( $current ) );
17 $i = DateTimeImmutable::createFromInterface( date_create( $current ) );
25 $i = DateTimeImmutable::createFromInterface( date_create( $current ) );
H A DDateTime_createFromInterface-001.phpt9 $i = DateTime::createFromInterface( date_create( $current ) );
17 $i = DateTime::createFromInterface( date_create( $current ) );
25 $i = DateTime::createFromInterface( date_create( $current ) );
H A DDateTimeImmutable_createFromInterface-002.phpt11 $i = MyDateTimeImmutable::createFromInterface( date_create( $current ) );
19 $i = MyDateTimeImmutable::createFromInterface( date_create( $current ) );
27 $i = MyDateTimeImmutable::createFromInterface( date_create( $current ) );
H A DDateTime_createFromInterface-002.phpt11 $i = MyDateTime::createFromInterface( date_create( $current ) );
19 $i = MyDateTime::createFromInterface( date_create( $current ) );
27 $i = MyDateTime::createFromInterface( date_create( $current ) );
H A Ddate_modify-1.phpt6 $ts = date_create("Fri Aug 20 1993 23:59:59");
12 $ts = date_create("Sun Mar 27 01:59:59 2005");
17 $ts = date_create("Sun Oct 30 01:59:59 2005");
H A Ddate_offset_get_basic1.phpt10 $winter = date_create('2008-12-25 14:25:41');
11 $summer = date_create('2008-07-02 14:25:41');
H A Ddate_timezone_get_basic1.phpt8 $object = date_create("2009-01-30 17:57:32");
13 $object = date_create("2009-01-30 17:57:32");
H A Ddate_timezone_set_basic1.phpt10 $datetime = date_create("2009-01-30 17:57:32");
14 $datetime = date_create("2009-01-30 22:57:32");
H A Ddate_format_timezone.phpt12 $date = date_create("2020-03-10 22:30:41");
20 $date = date_create("2020-03-10 22:30:41Z");
H A DDateTime_construct_error.phpt8 echo "*** Testing date_create() : error conditions ***\n";
22 *** Testing date_create() : error conditions ***
H A Dbug43808.phpt2 Bug #43808 (date_create never fails (even when it should))
5 $date = date_create('asdfasdf');
H A Dbug43075.phpt6 $d = date_create("2007-11-01T24:34:00+00:00");
H A Dtimestamp-in-dst.phpt7 var_dump( date_create( '@1202996091' )->format( 'c' ) );
H A Dbug41842.phpt2 Bug #41842 (Cannot create years < 0100 & negative years with date_create or new DateTime)
H A Dbug49059.phpt7 $date1 = date_create("2009-03-27");
8 $date2 = date_create("2009-03-01");
H A Ddate_create-relative.phpt2 date_create() with large relative offsets
47 $dt = date_create("$base_time $direction$offset");
H A Ddate_modify-2.phpt6 $d = date_create("2005-07-18 22:10:00 +0400");
/PHP-8.2/ext/pgsql/tests/
H A Dbug71062.phpt19 $date_string_php_iso8601 = date_create('8 Dec 2015 5:38')->format(DateTime::ISO8601);
23 $date_string_modified_iso8601 = date_create('8 Dec 2015 5:38')->format($modified_format);
/PHP-8.2/ext/intl/tests/
H A Ddateformat_bug65683_2.phpt7 $date = date_create('1970-01-01');

Completed in 19 milliseconds

123