philip Sun Jan 19 14:58:53 2003 EDT Modified files: /phpdoc/en/reference/datetime/functions date.xml Log: WS. Tabs -> Spaces.
Index: phpdoc/en/reference/datetime/functions/date.xml diff -u phpdoc/en/reference/datetime/functions/date.xml:1.5 phpdoc/en/reference/datetime/functions/date.xml:1.6 --- phpdoc/en/reference/datetime/functions/date.xml:1.5 Wed Jan 15 05:03:34 2003 +++ phpdoc/en/reference/datetime/functions/date.xml Sun Jan 19 14:58:53 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/datetime.xml, last change in rev 1.2 --> <refentry id="function.date"> <refnamediv> @@ -60,155 +60,155 @@ <entry>Uppercase Ante meridiem and Post meridiem</entry> <entry><literal>AM</literal> or <literal>PM</literal></entry> </row> - <row> - <entry><literal>B</literal></entry> - <entry>Swatch Internet time</entry> - <entry><literal>000</literal> through <literal>999</literal></entry> - </row> - <row> - <entry><literal>d</literal></entry> - <entry>Day of the month, 2 digits with leading zeros</entry> - <entry><literal>01</literal> to <literal>31</literal></entry> - </row> - <row> - <entry><literal>D</literal></entry> - <entry>A textual representation of a week, three letters</entry> - <entry><literal>Mon</literal> through <literal>Sun</literal></entry> - </row> - <row> - <entry><literal>F</literal></entry> - <entry>A full textual representation of a month, such as January or March</entry> - <entry><literal>January</literal> through <literal>December</literal></entry> - </row> - <row> - <entry><literal>g</literal></entry> - <entry>12-hour format of an hour without leading zeros</entry> - <entry><literal>1</literal> through <literal>12</literal></entry> - </row> - <row> - <entry><literal>G</literal></entry> - <entry>24-hour format of an hour without leading zeros</entry> - <entry><literal>0</literal> through <literal>23</literal></entry> - </row> - <row> - <entry><literal>h</literal></entry> - <entry>12-hour format of an hour with leading zeros</entry> - <entry><literal>01</literal> through <literal>12</literal></entry> - </row> - <row> - <entry><literal>H</literal></entry> - <entry>24-hour format of an hour with leading zeros</entry> - <entry><literal>00</literal> through <literal>23</literal></entry> - </row> - <row> - <entry><literal>i</literal></entry> - <entry>Minutes with leading zeros</entry> - <entry><literal>00</literal> to <literal>59</literal></entry> - </row> - <row> - <entry><literal>I</literal> (capital i)</entry> - <entry>Whether or not the date is in daylights savings time</entry> - <entry><literal>1</literal> if Daylight Savings Time, <literal>0</literal> otherwise.</entry> - </row> - <row> - <entry><literal>j</literal></entry> - <entry>Day of the month without leading zeros</entry> - <entry><literal>1</literal> to <literal>31</literal></entry> - </row> - <row> - <entry><literal>l</literal> (lowercase 'L')</entry> - <entry>A full textual representation of the day of the week</entry> - <entry><literal>Sunday</literal> through <literal>Saturday</literal></entry> - </row> - <row> - <entry><literal>L</literal></entry> - <entry>Whether it's a leap year</entry> - <entry><literal>1</literal> if it is a leap year, <literal>0</literal> otherwise.</entry> - </row> - <row> - <entry><literal>m</literal></entry> - <entry>Numeric representation of a month, with leading zeros</entry> - <entry><literal>01</literal> through <literal>12</literal></entry> - </row> - <row> - <entry><literal>M</literal></entry> - <entry>A short textual representation of a month, three letters</entry> - <entry><literal>Jan</literal> through <literal>Dec</literal></entry> - </row> - <row> - <entry><literal>n</literal></entry> - <entry>Numeric representation of a month, without leading zeros</entry> - <entry><literal>1</literal> through <literal>12</literal></entry> - </row> - <row> - <entry><literal>O</literal></entry> - <entry>Difference to Greenwich time (GMT) in hours</entry> - <entry>Example: <literal>+0200</literal></entry> - </row> - <row> - <entry><literal>r</literal></entry> - <entry>RFC 822 formatted date</entry> - <entry>Example: <literal>Thu, 21 Dec 2000 16:01:07 +0200</literal></entry> - </row> - <row> - <entry><literal>s</literal></entry> - <entry>Seconds, with leading zeros</entry> - <entry><literal>00</literal> through <literal>59</literal></entry> - </row> - <row> - <entry><literal>S</literal></entry> - <entry>English ordinal suffix for the day of the month, 2 characters</entry> - <entry> - <literal>st</literal>, <literal>nd</literal>, <literal>rd</literal> or - <literal>th</literal>. Works well with <literal>j</literal> - </entry> - </row> - <row> - <entry><literal>t</literal></entry> - <entry>Number of days in the given month</entry> - <entry><literal>28</literal> through <literal>31</literal></entry> - </row> - <row> - <entry><literal>T</literal></entry> - <entry>Timezone setting of this machine</entry> - <entry>Examples: <literal>EST</literal>, <literal>MDT</literal> ...</entry> - </row> - <row> - <entry><literal>U</literal></entry> - <entry>Seconds since the Unix Epoch (January 1 1970 00:00:00 GMT)</entry> - <entry>See also <function>time</function></entry> - </row> - <row> - <entry><literal>w</literal></entry> - <entry>Numeric representation of the day of the week</entry> - <entry><literal>0</literal> (for Sunday) through <literal>6</literal> (for Saturday)</entry> - </row> - <row> - <entry><literal>W</literal></entry> - <entry>ISO-8601 week number of year, weeks starting on Monday (added in PHP 4.1.0)</entry> - <entry>Example: <literal>42</literal> (the 42nd week in the year)</entry> - </row> - <row> - <entry><literal>Y</literal></entry> - <entry>A full numeric representation of a year, 4 digits</entry> - <entry>Examples: <literal>1999</literal> or <literal>2003</literal></entry> - </row> - <row> - <entry><literal>y</literal></entry> - <entry>A two digit representation of a year</entry> - <entry>Examples: <literal>99</literal> or <literal>03</literal></entry> - </row> - <row> - <entry><literal>z</literal></entry> - <entry>The day of the year</entry> - <entry><literal>0</literal> through <literal>366</literal></entry> - </row> - <row> - <entry><literal>Z</literal></entry> - <entry>Timezone offset in seconds. The offset for timezones west of UTC is always - negative, and for those east of UTC is always positive.</entry> - <entry><literal>-43200</literal> through <literal>43200</literal></entry> - </row> + <row> + <entry><literal>B</literal></entry> + <entry>Swatch Internet time</entry> + <entry><literal>000</literal> through <literal>999</literal></entry> + </row> + <row> + <entry><literal>d</literal></entry> + <entry>Day of the month, 2 digits with leading zeros</entry> + <entry><literal>01</literal> to <literal>31</literal></entry> + </row> + <row> + <entry><literal>D</literal></entry> + <entry>A textual representation of a week, three letters</entry> + <entry><literal>Mon</literal> through <literal>Sun</literal></entry> + </row> + <row> + <entry><literal>F</literal></entry> + <entry>A full textual representation of a month, such as January or +March</entry> + <entry><literal>January</literal> through <literal>December</literal></entry> + </row> + <row> + <entry><literal>g</literal></entry> + <entry>12-hour format of an hour without leading zeros</entry> + <entry><literal>1</literal> through <literal>12</literal></entry> + </row> + <row> + <entry><literal>G</literal></entry> + <entry>24-hour format of an hour without leading zeros</entry> + <entry><literal>0</literal> through <literal>23</literal></entry> + </row> + <row> + <entry><literal>h</literal></entry> + <entry>12-hour format of an hour with leading zeros</entry> + <entry><literal>01</literal> through <literal>12</literal></entry> + </row> + <row> + <entry><literal>H</literal></entry> + <entry>24-hour format of an hour with leading zeros</entry> + <entry><literal>00</literal> through <literal>23</literal></entry> + </row> + <row> + <entry><literal>i</literal></entry> + <entry>Minutes with leading zeros</entry> + <entry><literal>00</literal> to <literal>59</literal></entry> + </row> + <row> + <entry><literal>I</literal> (capital i)</entry> + <entry>Whether or not the date is in daylights savings time</entry> + <entry><literal>1</literal> if Daylight Savings Time, <literal>0</literal> +otherwise.</entry> + </row> + <row> + <entry><literal>j</literal></entry> + <entry>Day of the month without leading zeros</entry> + <entry><literal>1</literal> to <literal>31</literal></entry> + </row> + <row> + <entry><literal>l</literal> (lowercase 'L')</entry> + <entry>A full textual representation of the day of the week</entry> + <entry><literal>Sunday</literal> through <literal>Saturday</literal></entry> + </row> + <row> + <entry><literal>L</literal></entry> + <entry>Whether it's a leap year</entry> + <entry><literal>1</literal> if it is a leap year, <literal>0</literal> +otherwise.</entry> + </row> + <row> + <entry><literal>m</literal></entry> + <entry>Numeric representation of a month, with leading zeros</entry> + <entry><literal>01</literal> through <literal>12</literal></entry> + </row> + <row> + <entry><literal>M</literal></entry> + <entry>A short textual representation of a month, three letters</entry> + <entry><literal>Jan</literal> through <literal>Dec</literal></entry> + </row> + <row> + <entry><literal>n</literal></entry> + <entry>Numeric representation of a month, without leading zeros</entry> + <entry><literal>1</literal> through <literal>12</literal></entry> + </row> + <row> + <entry><literal>O</literal></entry> + <entry>Difference to Greenwich time (GMT) in hours</entry> + <entry>Example: <literal>+0200</literal></entry> + </row> + <row> + <entry><literal>r</literal></entry> + <entry>RFC 822 formatted date</entry> + <entry>Example: <literal>Thu, 21 Dec 2000 16:01:07 +0200</literal></entry> + </row> + <row> + <entry><literal>s</literal></entry> + <entry>Seconds, with leading zeros</entry> + <entry><literal>00</literal> through <literal>59</literal></entry> + </row> + <row> + <entry><literal>S</literal></entry> + <entry>English ordinal suffix for the day of the month, 2 characters</entry> + <entry> + <literal>st</literal>, <literal>nd</literal>, <literal>rd</literal> or + <literal>th</literal>. Works well with <literal>j</literal> + </entry> + </row> + <row> + <entry><literal>t</literal></entry> + <entry>Number of days in the given month</entry> + <entry><literal>28</literal> through <literal>31</literal></entry> + </row> + <row> + <entry><literal>T</literal></entry> + <entry>Timezone setting of this machine</entry> + <entry>Examples: <literal>EST</literal>, <literal>MDT</literal> ...</entry> + </row> + <row> + <entry><literal>U</literal></entry> + <entry>Seconds since the Unix Epoch (January 1 1970 00:00:00 GMT)</entry> + <entry>See also <function>time</function></entry> + </row> + <row> + <entry><literal>w</literal></entry> + <entry>Numeric representation of the day of the week</entry> + <entry><literal>0</literal> (for Sunday) through <literal>6</literal> (for +Saturday)</entry> + </row> + <row> + <entry><literal>W</literal></entry> + <entry>ISO-8601 week number of year, weeks starting on Monday (added in PHP +4.1.0)</entry> + <entry>Example: <literal>42</literal> (the 42nd week in the year)</entry> + </row> + <row> + <entry><literal>Y</literal></entry> + <entry>A full numeric representation of a year, 4 digits</entry> + <entry>Examples: <literal>1999</literal> or <literal>2003</literal></entry> + </row> + <row> + <entry><literal>y</literal></entry> + <entry>A two digit representation of a year</entry> + <entry>Examples: <literal>99</literal> or <literal>03</literal></entry> + </row> + <row> + <entry><literal>z</literal></entry> + <entry>The day of the year</entry> + <entry><literal>0</literal> through <literal>366</literal></entry> + </row> + <row> + <entry><literal>Z</literal></entry> + <entry>Timezone offset in seconds. The offset for timezones west of UTC is +always + negative, and for those east of UTC is always positive.</entry> + <entry><literal>-43200</literal> through <literal>43200</literal></entry> + </row> </tbody> </tgroup> </table>
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php