Re: ISO time zone format

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: ISO time zone format
Дата
Msg-id 46DE65E2.6090904@archonet.com
обсуждение исходный текст
Ответ на ISO time zone format  ("Sabin Coanda" <sabin.coanda@deuromedia.ro>)
Список pgsql-sql
Sabin Coanda wrote:
> Hi there,
> 
> I'd like to format a time stamp with time zone as ISO pattern (e.g. 
> 1999-01-08 04:05:06 -8:00)
> 
> I found the patterns for all the timestamp parts, from "Data Type Formatting 
> Functions" Postgresql documentation, excepting the numeric ISO time zone.
> 
> Please suggest the appropiate pattern for that.

If your DateStyle is set to ISO that's the default format. You don't 
need to use to_char()

Or am I missing your point?

--   Richard Huxton  Archonet Ltd


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

Предыдущее
От: Achilleas Mantzios
Дата:
Сообщение: Re: ISO time zone format
Следующее
От: "Marc Mamin"
Дата:
Сообщение: Re: EXECUTE 'EXECUTE ...' or how to use dynamic prepared statements ?