Re: ISO time zone format - Mailing list pgsql-sql

From Achilleas Mantzios
Subject Re: ISO time zone format
Date
Msg-id 200709051058.18158.achill@matrix.gatewaynet.com
Whole thread Raw
In response to ISO time zone format  ("Sabin Coanda" <sabin.coanda@deuromedia.ro>)
List pgsql-sql
Στις Τετάρτη 05 Σεπτέμβριος 2007 10:30, ο/η Sabin Coanda έγραψε:
> 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.

Have you tried the default PgSQL behaviour, without setting DateStyle, or
doing any explicit formating?
Maybe its exactly what you want.
What does
select now();
from within psql, output in your system?
>
> TIA,
> Sabin
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
>        choose an index scan if your joining column's datatypes do not
>        match

--
Achilleas Mantzios


pgsql-sql by date:

Previous
From: Aleksandr Vinokurov
Date:
Subject: Re: 8.0.1 to 8.0.13 upgrade added 15% lack of time of query execution
Next
From: Richard Huxton
Date:
Subject: Re: ISO time zone format