[PHP-DOC] cvs: phpdoc /it/functions datetime.xml From: Luca Perugini (l.perugini <email protected>)
Date: 08/31/00

perugini Thu Aug 31 09:26:05 2000 EDT

  Modified files:
    /phpdoc/it/functions datetime.xml
  Log:
  Sync with en tree.
  
  
Index: phpdoc/it/functions/datetime.xml
diff -u phpdoc/it/functions/datetime.xml:1.5 phpdoc/it/functions/datetime.xml:1.6
--- phpdoc/it/functions/datetime.xml:1.5 Sat Jul 15 16:59:02 2000
+++ phpdoc/it/functions/datetime.xml Thu Aug 31 09:26:05 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>
@@ -698,131 +708,131 @@
      <itemizedlist>
       <listitem>
        <simpara>
- %a - abbreviated weekday name according to the current locale
+ %a - abbreviated weekday name according to the current locale
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- %A - full weekday name according to the current locale
+ %A - full weekday name according to the current locale
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- %b - abbreviated month name according to the current locale
+ %b - abbreviated month name according to the current locale
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- %B - full month name according to the current locale
+ %B - full month name according to the current locale
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- %c - preferred date and time representation for the current
- locale
+ %c - preferred date and time representation for the current
+ locale
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- %C - century number (the year divided by 100 and truncated
- to an integer, range 00 to 99)
+ %C - century number (the year divided by 100 and truncated to
+ an integer, range 00 to 99)
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- %d - day of the month as a decimal number (range 00 to 31)
+ %d - day of the month as a decimal number (range 00 to 31)
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- %D - same as %m/%d/%y
+ %D - same as %m/%d/%y
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- %e - day of the month as a decimal number, a single digit is
- preceded by a space (range ' 1' to '31')
+ %e - day of the month as a decimal number, a single digit is
+ preceded by a space (range ' 1' to '31')
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- %h - same as %b
+ %h - same as %b
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- %H - hour as a decimal number using a 24-hour clock
- (range 00 to 23)
+ %H - hour as a decimal number using a 24-hour clock (range 00
+ to 23)
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- %I - hour as a decimal number using a 12-hour clock
- (range 01 to 12)
+ %I - hour as a decimal number using a 12-hour clock (range 01
+ to 12)
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- %j - day of the year as a decimal number (range 001 to 366)
+ %j - day of the year as a decimal number (range 001 to 366)
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- %m - month as a decimal number (range 1 to 12)
+ %m - month as a decimal number (range 1 to 12)
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- %M - minute as a decimal number
+ %M - minute as a decimal number
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- %n - newline character
+ %n - newline character
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- %p - either `am' or `pm' according to the given time value, or
- the corresponding strings for the current locale
+ %p - either `am' or `pm' according to the given time value, or
+ the corresponding strings for the current locale
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- %r - time in a.m. and p.m. notation
+ %r - time in a.m. and p.m. notation
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- %R - time in 24 hour notation
+ %R - time in 24 hour notation
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- %S - second as a decimal number
+ %S - second as a decimal number
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- %t - tab character
+ %t - tab character
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- %T - current time, equal to %H:%M:%S
+ %T - current time, equal to %H:%M:%S
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- %u - weekday as a decimal number [1,7],
- with 1 representing Monday
+ %u - weekday as a decimal number [1,7], with 1 representing
+ Monday
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- %U - week number of the current year as a decimal number,
- starting with the first Sunday as the first day of the first
- week
+ %U - week number of the current year as a decimal number,
+ starting with the first Sunday as the first day of the first
+ week
        </simpara>
       </listitem>
       <listitem>
@@ -835,47 +845,47 @@
       </listitem>
       <listitem>
        <simpara>
- %W - week number of the current year as a decimal number,
- starting with the first Monday as the first day of the first
- week
+ %W - week number of the current year as a decimal number,
+ starting with the first Monday as the first day of the first
+ week
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- %w - day of the week as a decimal, Sunday being 0
+ %w - day of the week as a decimal, Sunday being 0
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- %x - preferred date representation for the current locale
- without the time
+ %x - preferred date representation for the current locale
+ without the time
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- %X - preferred time representation for the current locale
- without the date
+ %X - preferred time representation for the current locale
+ without the date
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- %y - year as a decimal number without a century
- (range 00 to 99)
+ %y - year as a decimal number without a century (range 00 to
+ 99)
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- %Y - year as a decimal number including the century
+ %Y - year as a decimal number including the century
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- %Z - time zone or name or abbreviation
+ %Z - time zone or name or abbreviation
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- %% - a literal `%' character
+ %% - a literal `%' character
        </simpara>
       </listitem>
      </itemizedlist>
@@ -892,13 +902,14 @@
 print (strftime ("%A.\n"));
       </programlisting>
      </example>
- This example works if you have the respective locales installed
- in your system.
+ This example works if you have the respective locales installed
+ in your system.
     </para>
     <para>
      See also <function>setlocale</function> and
      <function>mktime</function> and the <ulink url="&spec.strftime;">
- Open Group specification of <function>strftime()</function></ulink>.
+ Open Group specification of
+ <function>strftime</function></ulink>.
     </para>
    </refsect1>
   </refentry>