]> begriffs open source - ai-pg/blob - full-docs/txt/datetime-appendix.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / datetime-appendix.txt
1
2 Appendix B. Date/Time Support
3
4    Table of Contents
5
6    B.1. Date/Time Input Interpretation
7    B.2. Handling of Invalid or Ambiguous Timestamps
8    B.3. Date/Time Key Words
9    B.4. Date/Time Configuration Files
10    B.5. POSIX Time Zone Specifications
11    B.6. History of Units
12    B.7. Julian Dates
13
14    PostgreSQL uses an internal heuristic parser for all date/time input
15    support. Dates and times are input as strings, and are broken up into
16    distinct fields with a preliminary determination of what kind of
17    information can be in the field. Each field is interpreted and either
18    assigned a numeric value, ignored, or rejected. The parser contains
19    internal lookup tables for all textual fields, including months, days
20    of the week, and time zones.
21
22    This appendix includes information on the content of these lookup
23    tables and describes the steps used by the parser to decode dates and
24    times.