Re: Error in date_trunc function?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Marat Khairullin <xmm(at)rambler(dot)ru>
Cc: postgres-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Error in date_trunc function?
Date: 2001-11-01 03:48:37
Message-ID: 14984.1004586517@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Marat Khairullin <xmm(at)rambler(dot)ru> writes:
> Compare TZ part of date_func function output with param 'month' and other.
> Is it error?

Depends. Do those various dates fall in daylight-savings or standard-time
territory in your timezone? They all look like reasonable candidates
for local midnight to me, if you are in a northern-hemisphere zone that
switches to standard time sometime during October.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Lockhart 2001-11-01 05:26:13 Re: Error in date_trunc function?
Previous Message Tom Lane 2001-11-01 03:37:42 Re: alter table workaround