Re: Re: Timestamp without time zone

Поиск
Список
Период
Сортировка
От Vivek Khera
Тема Re: Re: Timestamp without time zone
Дата
Msg-id 15144.55328.741285.104733@onceler.kciLink.com
обсуждение исходный текст
Ответ на Re: Re: Timestamp without time zone  (Alex Pilosov <alex@pilosoft.com>)
Ответы Re: Re: Timestamp without time zone  (Alex Pilosov <alex@pilosoft.com>)
Re: Re: Timestamp without time zone  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Re: Timestamp without time zone  (Frank Bax <fbax@sympatico.ca>)
Список 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 по дате отправления:

Предыдущее
От: Alex Pilosov
Дата:
Сообщение: Re: Re: Timestamp without time zone
Следующее
От: Jeff Eckermann
Дата:
Сообщение: RE: search/replace in update