Skip site navigation (1) Skip section navigation (2)

Re: Interval output format

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Stefan Waidele jun(dot)" <St(dot)Waidele(dot)jun(at)Krone-Neuenburg(dot)de>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Interval output format
Date: 2001-01-18 18:37:28
Message-ID: 4232.979843048@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-novice
"Stefan Waidele jun." <St(dot)Waidele(dot)jun(at)Krone-Neuenburg(dot)de> writes:
> How can I tell Postgres to return an interval value in an format like hhh:mm?

See to_char(),
http://www.postgresql.org/devel-corner/docs/postgres/functions-formatting.htm

			regards, tom lane

In response to

Responses

pgsql-novice by date

Next:From: Tom LaneDate: 2001-01-18 18:40:00
Subject: Re: Novice lo_import problem (7.0.3)
Previous:From: Tom LaneDate: 2001-01-18 18:24:43
Subject: Re: C++ problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group