Re: Re: Timestamp without time zone - Mailing list pgsql-sql

From Vivek Khera
Subject Re: Re: Timestamp without time zone
Date
Msg-id 15144.55328.741285.104733@onceler.kciLink.com
Whole thread Raw
In response to Re: Re: Timestamp without time zone  (Alex Pilosov <alex@pilosoft.com>)
Responses Re: Re: Timestamp without time zone
Re: Re: Timestamp without time zone
Re: Re: Timestamp without time zone
List pgsql-sql
>>>>> "AP" == Alex Pilosov <alex@pilosoft.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@kciLink.com       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/


pgsql-sql by date:

Previous
From: Alex Pilosov
Date:
Subject: Re: Re: Timestamp without time zone
Next
From: Jeff Eckermann
Date:
Subject: RE: search/replace in update