Searched refs:date_create (Results 1 – 25 of 57) sorted by relevance
123
2 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 …]
2 Test date_create() function : basic functionality8 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 ***
2 date_create() function [2]6 $d = date_create("2005-07-18 22:10:00 +0400");9 $d = date_create("@1121710200 +0912");
7 $da1 = date_create( $now );8 $ds1 = date_create( $now );15 $da2 = date_create( $now );16 $ds2 = date_create( $now );
9 $i = DateTimeImmutable::createFromInterface( date_create( $current ) );17 $i = DateTimeImmutable::createFromInterface( date_create( $current ) );25 $i = DateTimeImmutable::createFromInterface( date_create( $current ) );
9 $i = DateTime::createFromInterface( date_create( $current ) );17 $i = DateTime::createFromInterface( date_create( $current ) );25 $i = DateTime::createFromInterface( date_create( $current ) );
22 $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);
10 $winter = date_create('2008-12-25 14:25:41');11 $summer = date_create('2008-07-02 14:25:41');
11 $i = MyDateTimeImmutable::createFromInterface( date_create( $current ) );19 $i = MyDateTimeImmutable::createFromInterface( date_create( $current ) );27 $i = MyDateTimeImmutable::createFromInterface( date_create( $current ) );
11 $i = MyDateTime::createFromInterface( date_create( $current ) );19 $i = MyDateTime::createFromInterface( date_create( $current ) );27 $i = MyDateTime::createFromInterface( date_create( $current ) );
6 $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");
8 $object = date_create("2009-01-30 17:57:32");13 $object = date_create("2009-01-30 17:57:32");
10 $datetime = date_create("2009-01-30 17:57:32");14 $datetime = date_create("2009-01-30 22:57:32");
12 $date = date_create("2020-03-10 22:30:41");20 $date = date_create("2020-03-10 22:30:41Z");
8 echo "*** Testing date_create() : error conditions ***\n";22 *** Testing date_create() : error conditions ***
2 Bug #43808 (date_create never fails (even when it should))5 $date = date_create('asdfasdf');
6 $d = date_create("2007-11-01T24:34:00+00:00");
7 var_dump( date_create( '@1202996091' )->format( 'c' ) );
2 Bug #41842 (Cannot create years < 0100 & negative years with date_create or new DateTime)
6 $d = date_create("2005-07-18 22:10:00 +0400");
7 $date1 = date_create("2009-03-27");8 $date2 = date_create("2009-03-01");
2 date_create() with large relative offsets47 $dt = date_create("$base_time $direction$offset");
10 $datetime = date_create("2009-01-30 19:34:10");
17 $date_string_php_iso8601 = date_create('8 Dec 2015 5:38')->format(DateTime::ISO8601);21 $date_string_modified_iso8601 = date_create('8 Dec 2015 5:38')->format($modified_format);
7 $date = date_create('1970-01-01');
Completed in 35 milliseconds