1999-05-22 04:27:25 +02:00
|
|
|
|
<!--
|
2003-08-31 19:32:24 +02:00
|
|
|
|
$Header: /cvsroot/pgsql/doc/src/sgml/datetime.sgml,v 2.34 2003/08/31 17:32:18 petere Exp $
|
1999-05-22 04:27:25 +02:00
|
|
|
|
-->
|
1999-05-20 07:39:29 +02:00
|
|
|
|
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<appendix id="datetime-appendix">
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<title>Date/Time Support</title>
|
1999-05-20 07:39:29 +02:00
|
|
|
|
|
2002-01-04 18:02:25 +01:00
|
|
|
|
<para>
|
|
|
|
|
<productname>PostgreSQL</productname> uses an internal heuristic
|
2002-11-11 21:14:04 +01:00
|
|
|
|
parser for all date/time input support. Dates and times are input as
|
2002-01-04 18:02:25 +01:00
|
|
|
|
strings, and are broken up into distinct fields with a preliminary
|
|
|
|
|
determination of what kind of information may be in the
|
|
|
|
|
field. Each field is interpreted and either assigned a numeric
|
|
|
|
|
value, ignored, or rejected.
|
|
|
|
|
The parser contains internal lookup tables for all textual fields,
|
|
|
|
|
including months, days of the week, and time
|
|
|
|
|
zones.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
This appendix includes information on the content of these
|
|
|
|
|
lookup tables and describes the steps used by the parser to decode
|
|
|
|
|
dates and times.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<sect1>
|
2002-11-11 21:14:04 +01:00
|
|
|
|
<title>Date/Time Input Interpretation</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
2003-07-29 02:03:19 +02:00
|
|
|
|
The date/time type inputs are all decoded using the following procedure.
|
2002-11-11 21:14:04 +01:00
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<procedure>
|
|
|
|
|
<step>
|
|
|
|
|
<para>
|
|
|
|
|
Break the input string into tokens and categorize each token as
|
|
|
|
|
a string, time, time zone, or number.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<substeps>
|
|
|
|
|
<step>
|
|
|
|
|
<para>
|
|
|
|
|
If the numeric token contains a colon (<literal>:</>), this is
|
|
|
|
|
a time string. Include all subsequent digits and colons.
|
|
|
|
|
</para>
|
|
|
|
|
</step>
|
|
|
|
|
|
|
|
|
|
<step>
|
|
|
|
|
<para>
|
|
|
|
|
If the numeric token contains a dash (<literal>-</>), slash
|
|
|
|
|
(<literal>/</>), or two or more dots (<literal>.</>), this is
|
|
|
|
|
a date string which may have a text month.
|
|
|
|
|
</para>
|
|
|
|
|
</step>
|
|
|
|
|
|
|
|
|
|
<step>
|
|
|
|
|
<para>
|
|
|
|
|
If the token is numeric only, then it is either a single field
|
|
|
|
|
or an ISO 8601 concatenated date (e.g.,
|
|
|
|
|
<literal>19990113</literal> for January 13, 1999) or time
|
2003-03-13 02:30:29 +01:00
|
|
|
|
(e.g., <literal>141516</literal> for 14:15:16).
|
2002-11-11 21:14:04 +01:00
|
|
|
|
</para>
|
|
|
|
|
</step>
|
|
|
|
|
|
|
|
|
|
<step>
|
|
|
|
|
<para>
|
|
|
|
|
If the token starts with a plus (<literal>+</>) or minus
|
|
|
|
|
(<literal>-</>), then it is either a time zone or a special
|
|
|
|
|
field.
|
|
|
|
|
</para>
|
|
|
|
|
</step>
|
|
|
|
|
</substeps>
|
|
|
|
|
</step>
|
|
|
|
|
|
|
|
|
|
<step>
|
|
|
|
|
<para>
|
|
|
|
|
If the token is a text string, match up with possible strings.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<substeps>
|
|
|
|
|
<step>
|
|
|
|
|
<para>
|
|
|
|
|
Do a binary-search table lookup for the token
|
|
|
|
|
as either a special string (e.g., <literal>today</literal>),
|
|
|
|
|
day (e.g., <literal>Thursday</literal>),
|
|
|
|
|
month (e.g., <literal>January</literal>),
|
|
|
|
|
or noise word (e.g., <literal>at</literal>, <literal>on</literal>).
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Set field values and bit mask for fields.
|
|
|
|
|
For example, set year, month, day for <literal>today</literal>,
|
|
|
|
|
and additionally hour, minute, second for <literal>now</literal>.
|
|
|
|
|
</para>
|
|
|
|
|
</step>
|
|
|
|
|
|
|
|
|
|
<step>
|
|
|
|
|
<para>
|
|
|
|
|
If not found, do a similar binary-search table lookup to match
|
|
|
|
|
the token with a time zone.
|
|
|
|
|
</para>
|
|
|
|
|
</step>
|
|
|
|
|
|
|
|
|
|
<step>
|
|
|
|
|
<para>
|
2003-07-29 02:03:19 +02:00
|
|
|
|
If still not found, throw an error.
|
2002-11-11 21:14:04 +01:00
|
|
|
|
</para>
|
|
|
|
|
</step>
|
|
|
|
|
</substeps>
|
|
|
|
|
</step>
|
|
|
|
|
|
|
|
|
|
<step>
|
|
|
|
|
<para>
|
2003-07-29 02:03:19 +02:00
|
|
|
|
When the token is a number or number field:
|
2002-11-11 21:14:04 +01:00
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<substeps>
|
|
|
|
|
<step>
|
|
|
|
|
<para>
|
2003-07-29 02:03:19 +02:00
|
|
|
|
If there are eight or six digits,
|
2002-11-11 21:14:04 +01:00
|
|
|
|
and if no other date fields have been previously read, then interpret
|
2003-07-29 02:03:19 +02:00
|
|
|
|
as a <quote>concatenated date</quote> (e.g.,
|
|
|
|
|
<literal>19990118</literal> or <literal>990118</literal>).
|
|
|
|
|
The interpretation is <literal>YYYYMMDD</> or <literal>YYMMDD</>.
|
2002-11-11 21:14:04 +01:00
|
|
|
|
</para>
|
|
|
|
|
</step>
|
|
|
|
|
|
|
|
|
|
<step>
|
|
|
|
|
<para>
|
|
|
|
|
If the token is three digits
|
2003-07-29 02:03:19 +02:00
|
|
|
|
and a year has already been read, then interpret as day of year.
|
2002-11-11 21:14:04 +01:00
|
|
|
|
</para>
|
|
|
|
|
</step>
|
|
|
|
|
|
|
|
|
|
<step>
|
|
|
|
|
<para>
|
|
|
|
|
If four or six digits and a year has already been read, then
|
2003-07-29 02:03:19 +02:00
|
|
|
|
interpret as a time (<literal>HHMM</> or <literal>HHMMSS</>).
|
2002-11-11 21:14:04 +01:00
|
|
|
|
</para>
|
|
|
|
|
</step>
|
|
|
|
|
|
|
|
|
|
<step>
|
|
|
|
|
<para>
|
2003-07-29 02:03:19 +02:00
|
|
|
|
If three or more digits and no date fields have yet been found,
|
|
|
|
|
interpret as a year (this forces yy-mm-dd ordering of the remaining
|
|
|
|
|
date fields).
|
2002-11-11 21:14:04 +01:00
|
|
|
|
</para>
|
|
|
|
|
</step>
|
|
|
|
|
|
|
|
|
|
<step>
|
|
|
|
|
<para>
|
2003-07-29 02:03:19 +02:00
|
|
|
|
Otherwise the date field ordering is assumed to follow the
|
|
|
|
|
<varname>DateStyle</> setting: mm-dd-yy, dd-mm-yy, or yy-mm-dd.
|
|
|
|
|
Throw an error if a month or day field is found to be out of range.
|
2002-11-11 21:14:04 +01:00
|
|
|
|
</para>
|
|
|
|
|
</step>
|
|
|
|
|
</substeps>
|
|
|
|
|
</step>
|
|
|
|
|
|
|
|
|
|
<step>
|
|
|
|
|
<para>
|
|
|
|
|
If BC has been specified, negate the year and add one for
|
|
|
|
|
internal storage. (There is no year zero in the Gregorian
|
2003-03-13 02:30:29 +01:00
|
|
|
|
calendar, so numerically 1 BC becomes year
|
2002-11-11 21:14:04 +01:00
|
|
|
|
zero.)
|
|
|
|
|
</para>
|
|
|
|
|
</step>
|
|
|
|
|
|
|
|
|
|
<step>
|
|
|
|
|
<para>
|
|
|
|
|
If BC was not specified, and if the year field was two digits in length, then
|
2003-03-13 02:30:29 +01:00
|
|
|
|
adjust the year to four digits. If the field is less than 70, then add 2000,
|
|
|
|
|
otherwise add 1900.
|
2002-11-11 21:14:04 +01:00
|
|
|
|
|
|
|
|
|
<tip>
|
|
|
|
|
<para>
|
|
|
|
|
Gregorian years AD 1-99 may be entered by using 4 digits with leading
|
|
|
|
|
zeros (e.g., <literal>0099</> is AD 99). Previous versions of
|
|
|
|
|
<productname>PostgreSQL</productname> accepted years with three
|
|
|
|
|
digits and with single digits, but as of version 7.0 the rules have
|
|
|
|
|
been tightened up to reduce the possibility of ambiguity.
|
|
|
|
|
</para>
|
|
|
|
|
</tip>
|
|
|
|
|
</para>
|
|
|
|
|
</step>
|
|
|
|
|
</procedure>
|
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
|
|
|
2003-04-07 03:29:26 +02:00
|
|
|
|
<sect1 id="datetime-keywords">
|
2002-11-11 21:14:04 +01:00
|
|
|
|
<title>Date/Time Key Words</title>
|
2002-01-04 18:02:25 +01:00
|
|
|
|
|
|
|
|
|
<para>
|
2002-11-11 21:14:04 +01:00
|
|
|
|
<xref linkend="datetime-month-table"> shows the tokens that are
|
|
|
|
|
permissible as abbreviations for the names of the month.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<table id="datetime-month-table">
|
2002-01-04 18:02:25 +01:00
|
|
|
|
<title>Month Abbreviations</title>
|
|
|
|
|
<tgroup cols="2">
|
|
|
|
|
<thead>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>Month</entry>
|
|
|
|
|
<entry>Abbreviations</entry>
|
|
|
|
|
</row>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>April</entry>
|
|
|
|
|
<entry>Apr</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>August</entry>
|
|
|
|
|
<entry>Aug</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>December</entry>
|
|
|
|
|
<entry>Dec</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>February</entry>
|
|
|
|
|
<entry>Feb</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>January</entry>
|
|
|
|
|
<entry>Jan</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>July</entry>
|
|
|
|
|
<entry>Jul</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>June</entry>
|
|
|
|
|
<entry>Jun</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>March</entry>
|
|
|
|
|
<entry>Mar</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>November</entry>
|
|
|
|
|
<entry>Nov</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>October</entry>
|
|
|
|
|
<entry>Oct</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>September</entry>
|
|
|
|
|
<entry>Sep, Sept</entry>
|
|
|
|
|
</row>
|
|
|
|
|
</tbody>
|
|
|
|
|
</tgroup>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
<note>
|
|
|
|
|
<para>
|
2002-11-11 21:14:04 +01:00
|
|
|
|
The month May has no explicit abbreviation, for obvious reasons.
|
2002-01-04 18:02:25 +01:00
|
|
|
|
</para>
|
|
|
|
|
</note>
|
|
|
|
|
|
|
|
|
|
<para>
|
2002-11-11 21:14:04 +01:00
|
|
|
|
<xref linkend="datetime-dow-table"> shows the tokens that are
|
|
|
|
|
permissible as abbreviations for the names of the days of the
|
|
|
|
|
week.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<table id="datetime-dow-table">
|
2002-01-04 18:02:25 +01:00
|
|
|
|
<title>Day of the Week Abbreviations</title>
|
|
|
|
|
<tgroup cols="2">
|
|
|
|
|
<thead>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>Day</entry>
|
|
|
|
|
<entry>Abbreviation</entry>
|
|
|
|
|
</row>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>Sunday</entry>
|
|
|
|
|
<entry>Sun</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>Monday</entry>
|
|
|
|
|
<entry>Mon</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>Tuesday</entry>
|
|
|
|
|
<entry>Tue, Tues</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>Wednesday</entry>
|
|
|
|
|
<entry>Wed, Weds</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>Thursday</entry>
|
|
|
|
|
<entry>Thu, Thur, Thurs</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>Friday</entry>
|
|
|
|
|
<entry>Fri</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>Saturday</entry>
|
|
|
|
|
<entry>Sat</entry>
|
|
|
|
|
</row>
|
|
|
|
|
</tbody>
|
|
|
|
|
</tgroup>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
<para>
|
2002-11-11 21:14:04 +01:00
|
|
|
|
<xref linkend="datetime-mod-table"> shows the tokens that serve
|
|
|
|
|
various modifier purposes.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<table id="datetime-mod-table">
|
|
|
|
|
<title>Date/Time Field Modifiers</title>
|
2002-01-04 18:02:25 +01:00
|
|
|
|
<tgroup cols="2">
|
|
|
|
|
<thead>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>Identifier</entry>
|
|
|
|
|
<entry>Description</entry>
|
|
|
|
|
</row>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<row>
|
2002-03-22 20:20:45 +01:00
|
|
|
|
<entry><literal>ABSTIME</literal></entry>
|
2002-11-11 21:14:04 +01:00
|
|
|
|
<entry>Key word ignored</entry>
|
2002-01-04 18:02:25 +01:00
|
|
|
|
</row>
|
|
|
|
|
<row>
|
2002-03-22 20:20:45 +01:00
|
|
|
|
<entry><literal>AM</literal></entry>
|
2002-01-04 18:02:25 +01:00
|
|
|
|
<entry>Time is before 12:00</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
2002-03-22 20:20:45 +01:00
|
|
|
|
<entry><literal>AT</literal></entry>
|
2002-11-11 21:14:04 +01:00
|
|
|
|
<entry>Key word ignored</entry>
|
2002-01-04 18:02:25 +01:00
|
|
|
|
</row>
|
|
|
|
|
<row>
|
2002-03-22 20:20:45 +01:00
|
|
|
|
<entry><literal>JULIAN</>, <literal>JD</>, <literal>J</></entry>
|
2002-01-04 18:02:25 +01:00
|
|
|
|
<entry>Next field is Julian Day</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
2002-03-22 20:20:45 +01:00
|
|
|
|
<entry><literal>ON</literal></entry>
|
2002-11-11 21:14:04 +01:00
|
|
|
|
<entry>Key word ignored</entry>
|
2002-01-04 18:02:25 +01:00
|
|
|
|
</row>
|
|
|
|
|
<row>
|
2002-03-22 20:20:45 +01:00
|
|
|
|
<entry><literal>PM</literal></entry>
|
2002-01-04 18:02:25 +01:00
|
|
|
|
<entry>Time is on or after after 12:00</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
2002-03-22 20:20:45 +01:00
|
|
|
|
<entry><literal>T</literal></entry>
|
2002-01-04 18:02:25 +01:00
|
|
|
|
<entry>Next field is time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
</tbody>
|
|
|
|
|
</tgroup>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
<para>
|
2002-11-11 21:14:04 +01:00
|
|
|
|
The key word <literal>ABSTIME</literal> is ignored for historical
|
2003-03-13 02:30:29 +01:00
|
|
|
|
reasons: In very old releases of
|
|
|
|
|
<productname>PostgreSQL</productname>, invalid values of type <type>abstime</type>
|
2002-11-11 21:14:04 +01:00
|
|
|
|
were emitted as <literal>Invalid Abstime</literal>. This is no
|
|
|
|
|
longer the case however and this key word will likely be dropped in
|
2002-01-04 18:02:25 +01:00
|
|
|
|
a future release.
|
|
|
|
|
</para>
|
|
|
|
|
|
2002-11-11 21:14:04 +01:00
|
|
|
|
<indexterm>
|
2003-08-31 19:32:24 +02:00
|
|
|
|
<primary>time zone</primary>
|
|
|
|
|
<secondary>abbreviations</secondary>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
</indexterm>
|
2001-05-13 00:51:36 +02:00
|
|
|
|
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<para>
|
2002-11-11 21:14:04 +01:00
|
|
|
|
<xref linkend="datetime-timezone-table"> shows the time zone
|
|
|
|
|
abbreviations recognized by <productname>PostgreSQL</productname>.
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<productname>PostgreSQL</productname> contains internal tabular
|
2002-11-11 21:14:04 +01:00
|
|
|
|
information for time zone decoding, since there is no standard
|
|
|
|
|
operating system interface to provide access to general,
|
|
|
|
|
cross-time zone information. The underlying operating system
|
|
|
|
|
<emphasis>is</emphasis> used to provide time zone information for
|
|
|
|
|
<emphasis>output</emphasis>, however.
|
2002-01-04 18:02:25 +01:00
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
2002-11-11 21:14:04 +01:00
|
|
|
|
The table is organized by time zone offset from <acronym>UTC</>,
|
2003-03-13 02:30:29 +01:00
|
|
|
|
rather than alphabetically. This is intended to facilitate
|
2002-01-20 23:19:57 +01:00
|
|
|
|
matching local usage with recognized abbreviations for cases where
|
2002-01-04 18:02:25 +01:00
|
|
|
|
these might differ.
|
2002-11-11 21:14:04 +01:00
|
|
|
|
</para>
|
1999-06-23 08:17:51 +02:00
|
|
|
|
|
2002-11-11 21:14:04 +01:00
|
|
|
|
<table id="datetime-timezone-table">
|
|
|
|
|
<title>Time Zone Abbreviations</title>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<tgroup cols="3">
|
|
|
|
|
<thead>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>Time Zone</entry>
|
|
|
|
|
<entry>Offset from UTC</entry>
|
|
|
|
|
<entry>Description</entry>
|
|
|
|
|
</row>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>NZDT</entry>
|
|
|
|
|
<entry>+13:00</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>New Zealand Daylight-Saving Time</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>IDLE</entry>
|
|
|
|
|
<entry>+12:00</entry>
|
|
|
|
|
<entry>International Date Line, East</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>NZST</entry>
|
|
|
|
|
<entry>+12:00</entry>
|
|
|
|
|
<entry>New Zealand Standard Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>NZT</entry>
|
|
|
|
|
<entry>+12:00</entry>
|
|
|
|
|
<entry>New Zealand Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>AESST</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+11:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Australia Eastern Summer Standard Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>ACSST</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+10:30</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Central Australia Summer Standard Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>CADT</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+10:30</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>Central Australia Daylight-Saving Time</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>SADT</entry>
|
|
|
|
|
<entry>+10:30</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>South Australian Daylight-Saving Time</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>AEST</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+10:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Australia Eastern Standard Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>EAST</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+10:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>East Australian Standard Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>GST</entry>
|
|
|
|
|
<entry>+10:00</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>Guam Standard Time, Russia zone 9</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>LIGT</entry>
|
|
|
|
|
<entry>+10:00</entry>
|
|
|
|
|
<entry>Melbourne, Australia</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>SAST</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+09:30</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>South Australia Standard Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>CAST</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+09:30</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Central Australia Standard Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>AWSST</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+09:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Australia Western Summer Standard Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>JST</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+09:00</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>Japan Standard Time, Russia zone 8</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>KST</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+09:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Korea Standard Time</entry>
|
|
|
|
|
</row>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<row>
|
|
|
|
|
<entry>MHT</entry>
|
|
|
|
|
<entry>+09:00</entry>
|
|
|
|
|
<entry>Kwajalein Time</entry>
|
|
|
|
|
</row>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<row>
|
|
|
|
|
<entry>WDT</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+09:00</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>West Australian Daylight-Saving Time</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>MT</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+08:30</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Moluccas Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>AWST</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+08:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Australia Western Standard Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>CCT</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+08:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>China Coastal Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>WADT</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+08:00</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>West Australian Daylight-Saving Time</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>WST</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+08:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>West Australian Standard Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>JT</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+07:30</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Java Time</entry>
|
|
|
|
|
</row>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<row>
|
|
|
|
|
<entry>ALMST</entry>
|
|
|
|
|
<entry>+07:00</entry>
|
|
|
|
|
<entry>Almaty Summer Time</entry>
|
|
|
|
|
</row>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<row>
|
|
|
|
|
<entry>WAST</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+07:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>West Australian Standard Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>CXT</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+07:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Christmas (Island) Time</entry>
|
|
|
|
|
</row>
|
2002-08-04 08:15:45 +02:00
|
|
|
|
<row>
|
|
|
|
|
<entry>MMT</entry>
|
|
|
|
|
<entry>+06:30</entry>
|
2003-08-26 01:30:27 +02:00
|
|
|
|
<entry>Myanmar Time</entry>
|
2002-08-04 08:15:45 +02:00
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>ALMT</entry>
|
|
|
|
|
<entry>+06:00</entry>
|
|
|
|
|
<entry>Almaty Time</entry>
|
|
|
|
|
</row>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<row>
|
|
|
|
|
<entry>MAWT</entry>
|
|
|
|
|
<entry>+06:00</entry>
|
|
|
|
|
<entry>Mawson (Antarctica) Time</entry>
|
|
|
|
|
</row>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<row>
|
|
|
|
|
<entry>IOT</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+05:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Indian Chagos Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>MVT</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+05:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Maldives Island Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>TFT</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+05:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Kerguelen Time</entry>
|
|
|
|
|
</row>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<row>
|
|
|
|
|
<entry>AFT</entry>
|
|
|
|
|
<entry>+04:30</entry>
|
|
|
|
|
<entry>Afganistan Time</entry>
|
|
|
|
|
</row>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<row>
|
|
|
|
|
<entry>EAST</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+04:00</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>Antananarivo Summer Time</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>MUT</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+04:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Mauritius Island Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>RET</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+04:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Reunion Island Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>SCT</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+04:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Mahe Island Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
2002-08-04 08:15:45 +02:00
|
|
|
|
<entry>IRT, IT</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+03:30</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Iran Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>EAT</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+03:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Antananarivo, Comoro Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>BT</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+03:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Baghdad Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>EETDST</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+03:00</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>Eastern Europe Daylight-Saving Time</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
</row>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<row>
|
|
|
|
|
<entry>HMT</entry>
|
|
|
|
|
<entry>+03:00</entry>
|
|
|
|
|
<entry>Hellas Mediterranean Time (?)</entry>
|
|
|
|
|
</row>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<row>
|
|
|
|
|
<entry>BDST</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+02:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>British Double Standard Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>CEST</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+02:00</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>Central European Summer Time</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>CETDST</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+02:00</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>Central European Daylight-Saving Time</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>EET</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+02:00</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>Eastern European Time, Russia zone 1</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>FWT</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+02:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>French Winter Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>IST</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+02:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Israel Standard Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>MEST</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+02:00</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>Middle European Summer Time</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>METDST</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+02:00</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>Middle Europe Daylight-Saving Time</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>SST</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+02:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Swedish Summer Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>BST</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+01:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>British Summer Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>CET</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+01:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Central European Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>DNT</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+01:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry><foreignphrase>Dansk Normal Tid</foreignphrase></entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>FST</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+01:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>French Summer Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>MET</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+01:00</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>Middle European Time</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>MEWT</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+01:00</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>Middle European Winter Time</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>MEZ</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+01:00</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry><foreignphrase>Mitteleurop<6F>ische Zeit</></entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>NOR</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+01:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Norway Standard Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>SET</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+01:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Seychelles Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>SWT</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+01:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Swedish Winter Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>WETDST</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+01:00</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>Western European Daylight-Saving Time</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>GMT</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>00:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Greenwich Mean Time</entry>
|
|
|
|
|
</row>
|
2002-01-04 18:02:25 +01:00
|
|
|
|
<row>
|
|
|
|
|
<entry>UT</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>00:00</entry>
|
2002-01-04 18:02:25 +01:00
|
|
|
|
<entry>Universal Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>UTC</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>00:00</entry>
|
|
|
|
|
<entry>Universal Coordinated Time</entry>
|
2002-01-04 18:02:25 +01:00
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>Z</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>00:00</entry>
|
2002-01-04 18:02:25 +01:00
|
|
|
|
<entry>Same as UTC</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>ZULU</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>00:00</entry>
|
2002-01-04 18:02:25 +01:00
|
|
|
|
<entry>Same as UTC</entry>
|
|
|
|
|
</row>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<row>
|
|
|
|
|
<entry>WET</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>00:00</entry>
|
|
|
|
|
<entry>Western European Time</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>WAT</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>-01:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>West Africa Time</entry>
|
|
|
|
|
</row>
|
2003-08-26 01:30:27 +02:00
|
|
|
|
<row>
|
|
|
|
|
<entry>FNST</entry>
|
|
|
|
|
<entry>-01:00</entry>
|
|
|
|
|
<entry>Fernando de Noronha Summer Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>FNT</entry>
|
|
|
|
|
<entry>-02:00</entry>
|
|
|
|
|
<entry>Fernando de Noronha Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>BRST</entry>
|
|
|
|
|
<entry>-02:00</entry>
|
|
|
|
|
<entry>Brasilia Summer Time</entry>
|
|
|
|
|
</row>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<row>
|
|
|
|
|
<entry>NDT</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>-02:30</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>Newfoundland Daylight-Saving Time</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>ADT</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>-03:00</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>Atlantic Daylight-Saving Time</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
</row>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<row>
|
|
|
|
|
<entry>AWT</entry>
|
|
|
|
|
<entry>-03:00</entry>
|
|
|
|
|
<entry>(unknown)</entry>
|
|
|
|
|
</row>
|
2003-08-26 01:30:27 +02:00
|
|
|
|
<row>
|
|
|
|
|
<entry>BRT</entry>
|
|
|
|
|
<entry>-03:00</entry>
|
|
|
|
|
<entry>Brasilia Time</entry>
|
|
|
|
|
</row>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<row>
|
|
|
|
|
<entry>NFT</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>-03:30</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Newfoundland Standard Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>NST</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>-03:30</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Newfoundland Standard Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>AST</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>-04:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Atlantic Standard Time (Canada)</entry>
|
|
|
|
|
</row>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<row>
|
|
|
|
|
<entry>ACST</entry>
|
|
|
|
|
<entry>-04:00</entry>
|
|
|
|
|
<entry>Atlantic/Porto Acre Summer Time</entry>
|
|
|
|
|
</row>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<row>
|
|
|
|
|
<entry>EDT</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>-04:00</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>Eastern Daylight-Saving Time</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
</row>
|
|
|
|
|
<!--
|
1999-05-22 04:27:25 +02:00
|
|
|
|
<row>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>ZP4</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>-04:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>GMT +4 hours</entry>
|
1999-05-22 04:27:25 +02:00
|
|
|
|
</row>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
-->
|
2003-08-26 01:30:27 +02:00
|
|
|
|
<row>
|
|
|
|
|
<entry>ACT</entry>
|
|
|
|
|
<entry>-05:00</entry>
|
|
|
|
|
<entry>Atlantic/Porto Acre Standard Time</entry>
|
|
|
|
|
</row>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<row>
|
|
|
|
|
<entry>CDT</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>-05:00</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>Central Daylight-Saving Time</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>EST</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>-05:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Eastern Standard Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<!--
|
1999-05-22 04:27:25 +02:00
|
|
|
|
<row>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>ZP5</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>-05:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>GMT +5 hours</entry>
|
1999-05-22 04:27:25 +02:00
|
|
|
|
</row>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
-->
|
|
|
|
|
<row>
|
|
|
|
|
<entry>CST</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>-06:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Central Standard Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>MDT</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>-06:00</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>Mountain Daylight-Saving Time</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
</row>
|
|
|
|
|
<!--
|
1999-05-22 04:27:25 +02:00
|
|
|
|
<row>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>ZP6</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>-06:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>GMT +6 hours</entry>
|
1999-05-22 04:27:25 +02:00
|
|
|
|
</row>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
-->
|
|
|
|
|
<row>
|
|
|
|
|
<entry>MST</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>-07:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Mountain Standard Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>PDT</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>-07:00</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>Pacific Daylight-Saving Time</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
</row>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<row>
|
|
|
|
|
<entry>AKDT</entry>
|
|
|
|
|
<entry>-08:00</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>Alaska Daylight-Saving Time</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
</row>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<row>
|
|
|
|
|
<entry>PST</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>-08:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Pacific Standard Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>YDT</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>-08:00</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>Yukon Daylight-Saving Time</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
</row>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<row>
|
|
|
|
|
<entry>AKST</entry>
|
|
|
|
|
<entry>-09:00</entry>
|
|
|
|
|
<entry>Alaska Standard Time</entry>
|
|
|
|
|
</row>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<row>
|
|
|
|
|
<entry>HDT</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>-09:00</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>Hawaii/Alaska Daylight-Saving Time</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>YST</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>-09:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Yukon Standard Time</entry>
|
|
|
|
|
</row>
|
2002-08-04 08:15:45 +02:00
|
|
|
|
<row>
|
|
|
|
|
<entry>MART</entry>
|
|
|
|
|
<entry>-09:30</entry>
|
|
|
|
|
<entry>Marquesas Time</entry>
|
|
|
|
|
</row>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<row>
|
|
|
|
|
<entry>AHST</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>-10:00</entry>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<entry>Alaska/Hawaii Standard Time</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
</row>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<row>
|
|
|
|
|
<entry>HST</entry>
|
|
|
|
|
<entry>-10:00</entry>
|
|
|
|
|
<entry>Hawaii Standard Time</entry>
|
|
|
|
|
</row>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<row>
|
|
|
|
|
<entry>CAT</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>-10:00</entry>
|
2001-11-21 06:53:41 +01:00
|
|
|
|
<entry>Central Alaska Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>NT</entry>
|
|
|
|
|
<entry>-11:00</entry>
|
|
|
|
|
<entry>Nome Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>IDLW</entry>
|
|
|
|
|
<entry>-12:00</entry>
|
|
|
|
|
<entry>International Date Line, West</entry>
|
|
|
|
|
</row>
|
|
|
|
|
</tbody>
|
|
|
|
|
</tgroup>
|
|
|
|
|
</table>
|
1999-05-22 04:27:25 +02:00
|
|
|
|
|
2002-11-11 21:14:04 +01:00
|
|
|
|
<formalpara>
|
2000-02-02 17:21:06 +01:00
|
|
|
|
<title>Australian Time Zones</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
2002-11-11 21:14:04 +01:00
|
|
|
|
There are three naming conflicts between Australian time zone
|
2003-03-13 02:30:29 +01:00
|
|
|
|
names and time zone names commonly used in North and South America:
|
2002-11-11 21:14:04 +01:00
|
|
|
|
<literal>ACST</literal>, <literal>CST</literal>, and
|
|
|
|
|
<literal>EST</literal>. If the run-time option
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<varname>australian_timezones</varname> is set to true then
|
2002-11-11 21:14:04 +01:00
|
|
|
|
<literal>ACST</literal>, <literal>CST</literal>,
|
|
|
|
|
<literal>EST</literal>, and <literal>SAT</literal> are interpreted
|
|
|
|
|
as Australian time zone names, as shown in <xref
|
|
|
|
|
linkend="datetime-oztz-table">. If it is false (which is the
|
|
|
|
|
default), then <literal>ACST</literal>, <literal>CST</literal>,
|
|
|
|
|
and <literal>EST</literal> are taken as American time zone names,
|
|
|
|
|
and <literal>SAT</literal> is interpreted as a noise word
|
|
|
|
|
indicating Saturday.
|
2000-02-02 17:21:06 +01:00
|
|
|
|
</para>
|
2002-11-11 21:14:04 +01:00
|
|
|
|
</formalpara>
|
2000-02-02 17:21:06 +01:00
|
|
|
|
|
2002-11-11 21:14:04 +01:00
|
|
|
|
<table id="datetime-oztz-table">
|
|
|
|
|
<title>Australian Time Zone Abbreviations</title>
|
2000-02-02 17:21:06 +01:00
|
|
|
|
<tgroup cols="3">
|
|
|
|
|
<thead>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>Time Zone</entry>
|
|
|
|
|
<entry>Offset from UTC</entry>
|
|
|
|
|
<entry>Description</entry>
|
|
|
|
|
</row>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<row>
|
|
|
|
|
<entry>ACST</entry>
|
|
|
|
|
<entry>+09:30</entry>
|
|
|
|
|
<entry>Central Australia Standard Time</entry>
|
|
|
|
|
</row>
|
2000-02-02 17:21:06 +01:00
|
|
|
|
<row>
|
|
|
|
|
<entry>CST</entry>
|
|
|
|
|
<entry>+10:30</entry>
|
|
|
|
|
<entry>Australian Central Standard Time</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>EST</entry>
|
|
|
|
|
<entry>+10:00</entry>
|
|
|
|
|
<entry>Australian Eastern Standard Time</entry>
|
|
|
|
|
</row>
|
2000-10-20 15:57:10 +02:00
|
|
|
|
<row>
|
|
|
|
|
<entry>SAT</entry>
|
2001-12-29 19:35:54 +01:00
|
|
|
|
<entry>+09:30</entry>
|
2001-06-18 21:05:11 +02:00
|
|
|
|
<entry>South Australian Standard Time</entry>
|
2000-10-20 15:57:10 +02:00
|
|
|
|
</row>
|
2000-02-02 17:21:06 +01:00
|
|
|
|
</tbody>
|
|
|
|
|
</tgroup>
|
|
|
|
|
</table>
|
1999-05-22 04:27:25 +02:00
|
|
|
|
|
2002-11-11 21:14:04 +01:00
|
|
|
|
</sect1>
|
1999-05-20 07:39:29 +02:00
|
|
|
|
|
2003-03-13 02:30:29 +01:00
|
|
|
|
<sect1 id="datetime-units-history">
|
2000-05-02 22:36:21 +02:00
|
|
|
|
<title>History of Units</title>
|
1999-05-20 07:39:29 +02:00
|
|
|
|
|
1999-05-22 04:27:25 +02:00
|
|
|
|
<para>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
The Julian Date was invented by the French scholar
|
1999-05-22 04:27:25 +02:00
|
|
|
|
Joseph Justus Scaliger (1540-1609)
|
1999-06-23 08:17:51 +02:00
|
|
|
|
and probably takes its name from the Scaliger's father,
|
1999-05-22 04:27:25 +02:00
|
|
|
|
the Italian scholar Julius Caesar Scaliger (1484-1558).
|
|
|
|
|
Astronomers have used the Julian period to assign a unique number to
|
2003-03-13 02:30:29 +01:00
|
|
|
|
every day since 1 January 4713 BC. This is the so-called Julian Date
|
1999-05-22 04:27:25 +02:00
|
|
|
|
(JD). JD 0 designates the 24 hours from noon UTC on 1 January 4713 BC
|
|
|
|
|
to noon UTC on 2 January 4713 BC.
|
|
|
|
|
</para>
|
|
|
|
|
|
2002-11-11 21:14:04 +01:00
|
|
|
|
<para>
|
2003-03-13 02:30:29 +01:00
|
|
|
|
The <quote>Julian Date</quote> is different from the <quote>Julian
|
|
|
|
|
Calendar</quote>. The Julian calendar
|
2002-11-11 21:14:04 +01:00
|
|
|
|
was introduced by Julius Caesar in 45 BC. It was in common use
|
|
|
|
|
until the 1582, when countries started changing to the Gregorian
|
|
|
|
|
calendar. In the Julian calendar, the tropical year is
|
|
|
|
|
approximated as 365 1/4 days = 365.25 days. This gives an error of
|
|
|
|
|
about 1 day in 128 years.
|
1999-05-22 04:27:25 +02:00
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
2002-11-11 21:14:04 +01:00
|
|
|
|
The accumulating calendar error prompted
|
|
|
|
|
Pope Gregory XIII to reform the calendar in accordance with
|
|
|
|
|
instructions from the Council of Trent.
|
1999-05-22 04:27:25 +02:00
|
|
|
|
In the Gregorian calendar, the tropical year is approximated as
|
|
|
|
|
365 + 97 / 400 days = 365.2425 days. Thus it takes approximately 3300
|
|
|
|
|
years for the tropical year to shift one day with respect to the
|
|
|
|
|
Gregorian calendar.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
The approximation 365+97/400 is achieved by having 97 leap years
|
|
|
|
|
every 400 years, using the following rules:
|
|
|
|
|
|
|
|
|
|
<simplelist>
|
|
|
|
|
<member>
|
1999-06-23 08:17:51 +02:00
|
|
|
|
Every year divisible by 4 is a leap year.
|
1999-05-22 04:27:25 +02:00
|
|
|
|
</member>
|
|
|
|
|
<member>
|
1999-06-23 08:17:51 +02:00
|
|
|
|
However, every year divisible by 100 is not a leap year.
|
1999-05-22 04:27:25 +02:00
|
|
|
|
</member>
|
|
|
|
|
<member>
|
1999-06-23 08:17:51 +02:00
|
|
|
|
However, every year divisible by 400 is a leap year after all.
|
1999-05-22 04:27:25 +02:00
|
|
|
|
</member>
|
|
|
|
|
</simplelist>
|
|
|
|
|
|
|
|
|
|
So, 1700, 1800, 1900, 2100, and 2200 are not leap years. But 1600,
|
|
|
|
|
2000, and 2400 are leap years.
|
|
|
|
|
|
|
|
|
|
By contrast, in the older Julian calendar only years divisible by 4 are leap years.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
The papal bull of February 1582 decreed that 10 days should be dropped
|
|
|
|
|
from October 1582 so that 15 October should follow immediately after
|
|
|
|
|
4 October.
|
|
|
|
|
This was observed in Italy, Poland, Portugal, and Spain. Other Catholic
|
|
|
|
|
countries followed shortly after, but Protestant countries were
|
|
|
|
|
reluctant to change, and the Greek orthodox countries didn't change
|
2002-11-11 21:14:04 +01:00
|
|
|
|
until the start of the 20th century.
|
1999-05-22 04:27:25 +02:00
|
|
|
|
|
|
|
|
|
The reform was observed by Great Britain and Dominions (including what is
|
|
|
|
|
now the USA) in 1752.
|
2002-11-11 21:14:04 +01:00
|
|
|
|
Thus 2 September 1752 was followed by 14 September 1752.
|
1999-05-22 04:27:25 +02:00
|
|
|
|
|
2002-11-11 21:14:04 +01:00
|
|
|
|
This is why Unix systems have the <command>cal</command> program
|
1999-05-22 04:27:25 +02:00
|
|
|
|
produce the following:
|
|
|
|
|
|
2002-11-11 21:14:04 +01:00
|
|
|
|
<screen>
|
|
|
|
|
$ <userinput>cal 9 1752</userinput>
|
1999-05-22 04:27:25 +02:00
|
|
|
|
September 1752
|
|
|
|
|
S M Tu W Th F S
|
|
|
|
|
1 2 14 15 16
|
|
|
|
|
17 18 19 20 21 22 23
|
|
|
|
|
24 25 26 27 28 29 30
|
2002-11-11 21:14:04 +01:00
|
|
|
|
</screen>
|
1999-05-22 04:27:25 +02:00
|
|
|
|
</para>
|
1999-05-20 07:39:29 +02:00
|
|
|
|
|
2002-11-11 21:14:04 +01:00
|
|
|
|
<note>
|
|
|
|
|
<para>
|
|
|
|
|
The SQL standard states that <quote>Within the definition of a
|
|
|
|
|
<quote>datetime literal</quote>, the <quote>datetime
|
|
|
|
|
value</quote>s are constrained by the natural rules for dates and
|
|
|
|
|
times according to the Gregorian calendar</quote>. Dates between
|
|
|
|
|
1752-09-03 and 1752-09-13, although eliminated in some countries
|
|
|
|
|
by Papal fiat, conform to <quote>natural rules</quote> and are
|
|
|
|
|
hence valid dates.
|
|
|
|
|
</para>
|
|
|
|
|
</note>
|
1999-05-20 07:39:29 +02:00
|
|
|
|
|
1999-05-22 04:27:25 +02:00
|
|
|
|
<para>
|
|
|
|
|
Different calendars have been developed in various parts of the
|
|
|
|
|
world, many predating the Gregorian system.
|
1999-05-20 07:39:29 +02:00
|
|
|
|
|
1999-05-22 04:27:25 +02:00
|
|
|
|
For example,
|
|
|
|
|
the beginnings of the Chinese calendar can be traced back to the 14th
|
|
|
|
|
century BC. Legend has it that the Emperor Huangdi invented the
|
|
|
|
|
calendar in 2637 BC.
|
|
|
|
|
|
|
|
|
|
The People's Republic of China uses the Gregorian calendar
|
2002-11-11 21:14:04 +01:00
|
|
|
|
for civil purposes. The Chinese calendar is used for determining
|
1999-05-22 04:27:25 +02:00
|
|
|
|
festivals.
|
|
|
|
|
</para>
|
|
|
|
|
</sect1>
|
|
|
|
|
</appendix>
|
1999-05-20 07:39:29 +02:00
|
|
|
|
|
1999-05-22 04:27:25 +02:00
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
|
Local variables:
|
2000-03-31 05:27:42 +02:00
|
|
|
|
mode:sgml
|
1999-05-22 04:27:25 +02:00
|
|
|
|
sgml-omittag:nil
|
|
|
|
|
sgml-shorttag:t
|
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
|
sgml-indent-step:1
|
|
|
|
|
sgml-indent-data:t
|
|
|
|
|
sgml-parent-document:nil
|
|
|
|
|
sgml-default-dtd-file:"./reference.ced"
|
|
|
|
|
sgml-exposed-tags:nil
|
2000-03-31 05:27:42 +02:00
|
|
|
|
sgml-local-catalogs:("/usr/lib/sgml/catalog")
|
1999-05-22 04:27:25 +02:00
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
|
End:
|
|
|
|
|
-->
|