Lines Matching refs:date_format
2 Test date_format() function : basic functionality
5 /* Prototype : string date_format ( DateTime $object , string $format )
14 echo "*** Testing date_format() : basic functionality ***\n";
17 var_dump( date_format($date, "F j, Y, g:i a") );
18 var_dump( date_format($date, "m.d.y") );
19 var_dump( date_format($date, "j, n, Y") );
20 var_dump( date_format($date, "Ymd") );
21 var_dump( date_format($date, 'h-i-s, j-m-y, it is w Day') );
22 var_dump( date_format($date, '\i\t \i\s \t\h\e jS \d\a\y.') );
23 var_dump( date_format($date, "D M j G:i:s T Y") );
24 var_dump( date_format($date, 'H:m:s \m \i\s\ \m\o\n\t\h') );
25 var_dump( date_format($date, "H:i:s") );
30 *** Testing date_format() : basic functionality ***