pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andy Marden <amarden@usa.net>
To: pgsql-sql@postgresql.org
Subject: Dates and year 2000
Date: Tue, 19 Feb 2002 18:41:23 -0000
Message-ID: <a4u6fh$orp$1@jupiter.hub.org> (raw)

Am loading date fields from text in one table to date in another. Format of
the text dates is 'DD.MM.YY', so that's the format mask I use. Dates for
2001 work OK - '02.09.01' translates as '2001-09-02', but '02.09.00'
translates to '0001-09-02 BC'! The y2k.html part of the integrated doc says
that 70 - 69 equates 1970 - 2069.

Am I missing something?

Version 7.1.3 on RH 7.2 BTW

Cheers

Andy





view thread (7+ messages)  latest in thread

Message-ID: <a4u6fh$orp$1@jupiter.hub.org>
Permalink:  ../a4u6fh$orp$1@jupiter.hub.org/
Also on:    postgresql.org/message-id/a4u6fh$orp$1@jupiter.hub.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: amarden@usa.net
  Subject: Re: Dates and year 2000
  In-Reply-To: <a4u6fh$orp$1@jupiter.hub.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox