[PHP-DOC] cvs: phpdoc /en/functions datetime.xml From: Torben Wilson (torben <email protected>)
Date: 08/19/00

torben Sat Aug 19 20:11:31 2000 EDT

  Modified files:
    /phpdoc/en/functions datetime.xml
  Log:
  
  
  Documented "B" and "I" date() specs; cosmetics.
  
  
Index: phpdoc/en/functions/datetime.xml
diff -u phpdoc/en/functions/datetime.xml:1.17 phpdoc/en/functions/datetime.xml:1.18
--- phpdoc/en/functions/datetime.xml:1.17 Tue Jul 11 10:44:46 2000
+++ phpdoc/en/functions/datetime.xml Sat Aug 19 20:11:31 2000
@@ -72,138 +72,148 @@
      <itemizedlist>
       <listitem>
        <simpara>
- a - "am" or "pm"
+ a - "am" or "pm"
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- A - "AM" or "PM"
+ A - "AM" or "PM"
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- d - day of the month, 2 digits with leading zeros; i.e. "01"
- to "31"
+ B - Swatch Internet time
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- D - day of the week, textual, 3 letters; i.e. "Fri"
+ d - day of the month, 2 digits with leading zeros; i.e. "01"
+ to "31"
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- F - month, textual, long; i.e. "January"
+ D - day of the week, textual, 3 letters; i.e. "Fri"
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- h - hour, 12-hour format; i.e. "01" to "12"
+ F - month, textual, long; i.e. "January"
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- H - hour, 24-hour format; i.e. "00" to "23"
+ g - hour, 12-hour format without leading zeros; i.e. "1" to
+ "12"
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- g - hour, 12-hour format without leading zeros; i.e. "1" to
- "12"
+ G - hour, 24-hour format without leading zeros; i.e. "0" to
+ "23"
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- G - hour, 24-hour format without leading zeros; i.e. "0" to
- "23"
+ h - hour, 12-hour format; i.e. "01" to "12"
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- i - minutes; i.e. "00" to "59"
+ H - hour, 24-hour format; i.e. "00" to "23"
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- j - day of the month without leading zeros; i.e. "1" to "31"
+ i - minutes; i.e. "00" to "59"
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- l (lowercase 'L') - day of the week, textual, long;
- i.e. "Friday"
+ I (capital i) - "1" if Daylight Savings Time, "0" otherwise.
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- L - boolean for whether it is a leap year; i.e. "0" or "1"
+ j - day of the month without leading zeros; i.e. "1" to "31"
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- m - month; i.e. "01" to "12"
+ l (lowercase 'L') - day of the week, textual, long;
+ i.e. "Friday"
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- n - month without leading zeros; i.e. "1" to "12"
+ L - boolean for whether it is a leap year; i.e. "0" or "1"
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- M - month, textual, 3 letters; i.e. "Jan"
+ m - month; i.e. "01" to "12"
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- s - seconds; i.e. "00" to "59"
+ M - month, textual, 3 letters; i.e. "Jan"
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- S - English ordinal suffix, textual, 2 characters; i.e. "th",
- "nd"
+ n - month without leading zeros; i.e. "1" to "12"
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- t - number of days in the given month; i.e. "28" to "31"
+ s - seconds; i.e. "00" to "59"
        </simpara>
       </listitem>
       <listitem>
        <simpara>
+ S - English ordinal suffix, textual, 2 characters; i.e. "th",
+ "nd"
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ t - number of days in the given month; i.e. "28" to "31"
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
         T - Timezone setting of this machine; i.e. "MDT"
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- U - seconds since the epoch
+ U - seconds since the epoch
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- w - day of the week, numeric, i.e. "0" (Sunday) to "6"
- (Saturday)
+ w - day of the week, numeric, i.e. "0" (Sunday) to "6"
+ (Saturday)
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- Y - year, 4 digits; i.e. "1999"
+ Y - year, 4 digits; i.e. "1999"
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- y - year, 2 digits; i.e. "99"
+ y - year, 2 digits; i.e. "99"
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- z - day of the year; i.e. "0" to "365"
+ z - day of the year; i.e. "0" to "365"
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- Z - timezone offset in seconds (i.e. "-43200" to "43200")
+ Z - timezone offset in seconds (i.e. "-43200" to "43200")
        </simpara>
       </listitem>
      </itemizedlist>