cvs: phpdoc /en/functions datetime.xml

From: Date: Tue, 01 Jan 2002 20:25:20 +0000
Subject: cvs: phpdoc /en/functions datetime.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969340574@lists.php.net to get a copy of this message
jimw Tue Jan 1 15:25:20 2002 EDT Modified files: /phpdoc/en/functions datetime.xml Log: strftime: document %G and %g, refer to it from %V Index: phpdoc/en/functions/datetime.xml diff -u phpdoc/en/functions/datetime.xml:1.60 phpdoc/en/functions/datetime.xml:1.61 --- phpdoc/en/functions/datetime.xml:1.60 Fri Dec 28 11:45:39 2001 +++ phpdoc/en/functions/datetime.xml Tue Jan 1 15:25:20 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.60 $ --> +<!-- $Revision: 1.61 $ --> <reference id="ref.datetime"> <title>Date and Time functions</title> <titleabbrev>Date/time</titleabbrev> @@ -908,6 +908,19 @@ </listitem> <listitem> <simpara> + %g - like %G, but without the century. + </simpara> + </listitem> + <listitem> + <simpara> + %G - The 4-digit year corresponding to the ISO week number (see %V). + This has the same format and value as %Y, except that if the ISO week + number belongs to the previous or next year, that year is used + instead. + </simpara> + </listitem> + <listitem> + <simpara> %h - same as %b </simpara> </listitem> @@ -999,7 +1012,9 @@ %V - The ISO 8601:1988 week number of the current year as a decimal number, range 01 to 53, where week 1 is the first week that has at least 4 days in the current year, and with - Monday as the first day of the week. + Monday as the first day of the week. (Use %G or %g for the year + component that corresponds to the week number for the specified + timestamp.) </simpara> </listitem> <listitem>

« previous php.doc (#969340574) next »