Lines Matching refs:date
6 * Description: Returns date formatted according to given format
7 * Source code: ext/date/php_date.c
15 $date = new DateTime("2005-07-14 22:30:41");
17 var_dump( $date->format( DateTime::ATOM) ) ;
18 var_dump( $date->format( DateTime::COOKIE) ) ;
19 var_dump( $date->format( DateTime::ISO8601) ) ;
20 var_dump( $date->format( DateTime::RFC822) ) ;
21 var_dump( $date->format( DateTime::RFC850) ) ;
22 var_dump( $date->format( DateTime::RFC1036) ) ;
23 var_dump( $date->format( DateTime::RFC1123) ) ;
24 var_dump( $date->format( DateTime:: RFC2822) ) ;
25 var_dump( $date->format( DateTime::RFC3339) ) ;
26 var_dump( $date->format( DateTime::RSS) ) ;
27 var_dump( $date->format( DateTime::W3C) ) ;