Re: Re: Timestamp without time zone

From: Vivek Khera <khera(at)kcilink(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Re: Timestamp without time zone
Date: 2001-06-14 15:28:32
Message-ID: 15144.55328.741285.104733@onceler.kciLink.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

>>>>> "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

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D. Khera Communications, Inc.
Internet: khera(at)kciLink(dot)com Rockville, MD +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Alex Pilosov 2001-06-14 15:30:54 Re: Re: Timestamp without time zone
Previous Message Vivek Khera 2001-06-14 14:57:20 Re: Timestamp without time zone