Re: Re: Timestamp without time zone

From: Alex Pilosov <alex(at)pilosoft(dot)com>
To: Vivek Khera <khera(at)kcilink(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Re: Timestamp without time zone
Date: 2001-06-14 17:30:24
Message-ID: Pine.BSO.4.10.10106141327270.19379-100000@spider.pilosoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Well, I guess you have to chop the string three times before passing it to
strftime....

On Thu, 14 Jun 2001, Vivek Khera wrote:

> >>>>> "AP" == Alex Pilosov <alex(at)pilosoft(dot)com> writes:
>
> AP> Why do you _want_ to remove timezone from values in database? There is
> AP> definitely a way to work around whatever problem you are having.
>
> Because my normal date parsing routines from perl's Date::Parse
> library don't recognize it, and fail to parse the date.
>
> % perl -MDate::Parse -e 'print str2time("2001-06-14 12:00:00+04"),"\n";'
>
> % perl -MDate::Parse -e 'print str2time("2001-06-14 12:00:00"),"\n";'
> 992534400
>
>

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Alex Pilosov 2001-06-14 17:32:02 Re: RE: search/replace in update
Previous Message Tom Lane 2001-06-14 17:22:37 Re: Re: Timestamp without time zone