Re: [SQL] subtract a day from the NOW function

From: John Meyer <john(dot)l(dot)meyer(at)gmail(dot)com>
To: PostgreSQL General List <pgsql-general(at)postgresql(dot)org>
Subject: Re: [SQL] subtract a day from the NOW function
Date: 2007-06-08 04:45:00
Message-ID: 4668DECC.3090505@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql

Tom Lane wrote:
> Kevin Hunter <hunteke(at)earlham(dot)edu> writes:
>
>> At 5:57p -0400 on 07 Jun 2007, Michael Glaesemann wrote:
>>
>>> It is a bit tricky. Datetime math is inherently so.
>>>
>
>
>> So one wonders why the whole world doesn't migrate to a single timezone.
>>
>
> Or at least get rid of daylight savings, which has to be one of the
> worst ideas of the last 200 years ...
>

You mean we don't have to worry about defeating Jerry and the Kaiser
anymore? Boggles the mind.
Seriously, as long as everybody's in agreement, stick to UTC and let the
local software developers worry about formatting conversions to and from
for display.

--
The NCP Revue -- http://www.ncprevue.com/blog

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Zoltan Boszormenyi 2007-06-08 05:08:13 What's the correct way to use FunctionCallInvoke()?
Previous Message Patrick TJ McPhee 2007-06-08 04:13:54 Re: index vs. seq scan choice?

Browse pgsql-sql by date

  From Date Subject
Next Message Charles.Hou 2007-06-08 13:29:55 Re: the right time to vacuum database?
Previous Message Tom Lane 2007-06-08 04:12:10 Re: [SQL] subtract a day from the NOW function