Re: pgsql's datetime perl equivalent ?

Поиск
Список
Период
Сортировка
От Greg Sabino Mullane
Тема Re: pgsql's datetime perl equivalent ?
Дата
Msg-id E16Fn1B-0001PA-00@blount.mail.mindspring.net
обсуждение исходный текст
Ответ на pgsql's datetime perl equivalent ?  (Oleg Bartunov <oleg@sai.msu.su>)
Список pgsql-hackers
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> 'Mon, 23 Nov 1998 08:37:16 -5:00' if fine for postgresql but
> produces error in Date::Parse :-)

Date::Parse is not parsing it because of your timezone: "-5:00"
is not legal; according to ISO 8601 it should be one of:
+HH:MM, +HH, -HH:MM, -HH
(see the TIMEZONES section in perldoc Date::Manip for a complete list)

Just add a zero before the five and Date::Manip and postgresql 
will be more than happy to play with the date.

Greg Sabino Mullane
greg@turnstep.com
PGP Key: 0x14964AC8 200112162039

-----BEGIN PGP SIGNATURE-----
Comment: http://www.turnstep.com/pgp.html

iD8DBQFyqV9gvJuQZxSWSsgRAhtpAKCxCr1+jnNPOHXd4c0kGQTSDWJVWACg/t16
Sdw0ayy+FfS0Bueywx0SvHc=
=qETw
-----END PGP SIGNATURE-----




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Hiroshi Inoue
Дата:
Сообщение: Re: unexpected SIGALRM
Следующее
От: Peter Harvey
Дата:
Сообщение: ODBC on OSX