CVS update: php3/doc/functions

From: Date: Mon, 07 Jun 1999 15:43:23 +0000
Subject: CVS update: php3/doc/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-6655@lists.php.net to get a copy of this message
Date: Monday June 7, 1999 @ 11:43 Author: cmv Update of /repository/php3/doc/functions In directory php:/tmp/cvs-serv25025/doc/functions Modified Files: datetime.sgml Log Message: added more date() flags ... Index: php3/doc/functions/datetime.sgml diff -u php3/doc/functions/datetime.sgml:1.30 php3/doc/functions/datetime.sgml:1.31 --- php3/doc/functions/datetime.sgml:1.30 Thu Jun 3 01:45:18 1999 +++ php3/doc/functions/datetime.sgml Mon Jun 7 11:43:21 1999 @@ -68,6 +68,7 @@ <listitem><simpara>i - minutes; i.e. "00" to "59"</simpara></listitem> <listitem><simpara>j - day of the month without leading zeros; i.e. "1" to "31"</simpara></listitem> <listitem><simpara>l (lowercase 'L') - day of the week, textual, long; i.e. "Friday"</simpara></listitem> + <listitem><simpara>L - boolean for whether it is a leap year; i.e. "0" or "1"</simpara></listitem> <listitem><simpara>m - month; i.e. "01" to "12"</simpara></listitem> <listitem><simpara>n - month without leading zeros; i.e. "1" to "12"</simpara></listitem> <listitem><simpara>M - month, textual, 3 letters; i.e. "Jan"</simpara></listitem> @@ -79,8 +80,10 @@ <listitem><simpara>Y - year, 4 digits; i.e. "1999"</simpara></listitem> <listitem><simpara>y - year, 2 digits; i.e. "99"</simpara></listitem> <listitem><simpara>z - day of the year; i.e. "1" to "366"</simpara></listitem> + <listitem><simpara>Z - timezone offset in seconds (i.e. "-43200" to "43200")</simpara></listitem> </itemizedlist> Unrecognized characters in the format string will be printed as-is. + The "Z" format will always return "0" when using <function>gmdate()</function>. <example> <title><function>date</function> example</title>

« previous php.dev (#6655) next »