Re: ISO time zone format

From: Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: ISO time zone format
Date: 2007-09-05 07:58:17
Message-ID: 200709051058.18158.achill@matrix.gatewaynet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Richard Huxton 2007-09-05 08:16:34 Re: ISO time zone format
Previous Message Aleksandr Vinokurov 2007-09-05 07:57:13 Re: 8.0.1 to 8.0.13 upgrade added 15% lack of time of query execution