Re: How to insert "date" as timestamp

From: Roland Walter <rwa(at)mosaic-ag(dot)com>
To: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: aydin(dot)toprak(at)intengo(dot)com, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: How to insert "date" as timestamp
Date: 2005-10-13 14:20:55
Message-ID: 434E6D47.90207@mosaic-ag.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Kevin Grittner schrieb:

...
>
> I definitely would not use timestamp without time zone even
> within a single time zone unless that time zone didn't use
> daylight saving time, or I was very confident that I didn't need
> to record times in the wee hours on days when the time
> shifted. It's always safer to use timestamp with time zone
> when what you want to record is an instant in time.
>
> The only use case I've been able to think of where timestamp
> without time zone is semantically correct is where a publisher
> sets a release for, say, the next Harry Potter book. Having
> attended a late night book release party this summer so that
> my kids could pick up their book as soon as 12:01 a.m. rolled
> into our time zone, I can see at least one use case for this
> data type.
>

I have one. I get timestamps without timezone in a CSV-file
with exported data of transactions from a so called 'Clearing-Center'
that converts EDIFACT-Messages. This data gets imported into the
database of the system that creates the bills. I can not provide
information that I do not have. So there is no use for timestamps with
timezones.

>
>
>
>>>>Roland Walter <rwa(at)mosaic-ag(dot)com> 10/13/05 3:08 AM >>>
>
> And I would use TIMESTAMP without a time zone, in the case I know all
> database clients are in the same time zone.
>

--
Roland Walter phone: +49 (0) 22 25 / 88 2-41 1
MOSAIC SOFTWARE AG fax: +49 (0) 22 25 / 88 2-20 1
Am Pannacker 3 mailto: rwa (at) mosaic-ag (dot) com
D-53340 Meckenheim http://www.mosaic-ag.com
------- L E G A L D I S C L A I M E R ---------

Die Informationen in dieser Nachricht sind vertraulich
und ausschliesslich fuer den Adressaten bestimmt.
Kenntnisnahme durch Dritte ist unzulaessig. Die
Erstellung von Kopien oder das Weiterleiten an weitere,
nicht originaere und benannte Adressaten ist nicht
vorgesehen und kann ungesetzlich sein. Die Meinungen
in dieser Nachricht stellen lediglich die Meinungen
des Senders dar. Falls Sie vermuten, dass diese
Nachricht veraendert wurde, setzen Sie sich mit dem
Absender in Verbindung. Der Absender uebernimmt ohne
weitere Ueberpruefung keine Verantwortung fuer die
Richtigkeit und Vollstaendigkeit des Inhalts. Unbefugte
Empfaenger werden gebeten, die Vertraulichkeit der
Nachricht zu wahren und den Absender sofort ueber
einen Uebertragungsfehler zu informieren.
------------------------------------------------------

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kevin Grittner 2005-10-13 14:23:23 Re: How to insert "date" as timestamp
Previous Message Kevin Grittner 2005-10-13 14:04:41 Re: How to insert "date" as timestamp