pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Achilleas Mantzios <achill@matrix.gatewaynet.com>
To: pgsql-sql@postgresql.org
Subject: Re: ISO time zone format
Date: Wed, 5 Sep 2007 10:58:17 +0300
Message-ID: <200709051058.18158.achill@matrix.gatewaynet.com> (raw)
In-Reply-To: <fbllup$10m8$1@news.hub.org>
References: <fbllup$10m8$1@news.hub.org>

Στις Τετάρτη 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



view thread (6+ messages)  latest in thread

Message-ID: <200709051058.18158.achill@matrix.gatewaynet.com>
Permalink:  ../200709051058.18158.achill@matrix.gatewaynet.com/
Also on:    postgresql.org/message-id/200709051058.18158.achill@matrix.gatewaynet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: achill@matrix.gatewaynet.com
  Subject: Re: ISO time zone format
  In-Reply-To: <200709051058.18158.achill@matrix.gatewaynet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox