Lines Matching refs:date
2 Test for + character in date format
6 $date = "06/08/04 12:00";
8 print_r( date_create_from_format( 'm/d/y', $date , $tz) );
11 print_r( date_create_from_format( 'm/d/y+', $date , $tz)->setTime(0, 0) );
14 print_r( date_create_from_format( '+m/d/y', $date , $tz)->setTime(0, 0) );
17 print_r( date_create_from_format( 'm/d/y++', $date , $tz)->setTime(0, 0) );
21 $date = "06/08/04";
22 print_r( date_create_from_format( 'm/d/y+', $date , $tz)->setTime(0, 0) );
25 print_r( date_create_from_format( '+m/d/y', $date , $tz)->setTime(0, 0) );
49 [date] => 2004-06-08 00:00:00.000000
70 [date] => 2004-06-08 00:00:00.000000
91 [date] => 2004-06-08 00:00:00.000000
112 [date] => 2004-06-08 00:00:00.000000
132 [date] => 2004-06-08 00:00:00.000000