Lines Matching refs:date
2 Test date() function : basic functionality
5 /* Prototype : string date ( string $format [, int $timestamp ] )
6 * Description: Format a local time/date.
7 * Source code: ext/date/php_date.c
13 echo "*** Testing date() : basic functionality ***\n";
17 var_dump( date("F j, Y, g:i a", $timestamp) );
18 var_dump( date("m.d.y", $timestamp) );
19 var_dump( date("j, n, Y", $timestamp) );
20 var_dump( date("Ymd", $timestamp) );
21 var_dump( date('h-i-s, j-m-y, it is w Day', $timestamp) );
22 var_dump( date('\i\t \i\s \t\h\e jS \d\a\y.', $timestamp) );
23 var_dump( date("D M j G:i:s T Y", $timestamp) );
24 var_dump( date('H:m:s \m \i\s\ \m\o\n\t\h', $timestamp) );
25 var_dump( date("H:i:s", $timestamp) );
30 *** Testing date() : basic functionality ***