pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ben Clewett <B.Clewett@roadrunner.uk.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-novice@postgresql.org
Subject: Re: Date Format
Date: Tue, 08 Apr 2003 15:50:29 +0100
Message-ID: <3E92E1B5.9060201@roadrunner.uk.com> (raw)
In-Reply-To: <26749.1049812422@sss.pgh.pa.us>
References: <Pine.LNX.4.44.0304081448010.1127-100000@Bhuvan.bksys.co.in>
	<3E929D74.5010705@roadrunner.uk.com>
	<26749.1049812422@sss.pgh.pa.us>

I see...

Found the reference:

http://www.postgresql.org/docs/view.php?version=7.3&idoc=1&file=functions-formatting.html

to_char(my_timestamp, 'DD/MM/YY')

This looks really exactly what I want, thanks!

Ben

Tom Lane wrote:
> Ben Clewett <B.Clewett@roadrunner.uk.com> writes:
> 
>>Has any member developed any way of having a more elaborate formats. 
> 
> 
> There's always to_char() ... it's pretty ugly but can format a date
> practically any way you want.
> 
> 			regards, tom lane
> 




view thread (6+ messages)

Message-ID: <3E92E1B5.9060201@roadrunner.uk.com>
Permalink:  ../3E92E1B5.9060201@roadrunner.uk.com/
Also on:    postgresql.org/message-id/3E92E1B5.9060201@roadrunner.uk.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: B.Clewett@roadrunner.uk.com, tgl@sss.pgh.pa.us, pgsql-novice@postgresql.org
  Subject: Re: Date Format
  In-Reply-To: <3E92E1B5.9060201@roadrunner.uk.com>
  References: <Pine.LNX.4.44.0304081448010.1127-100000@Bhuvan.bksys.co.in> <3E929D74.5010705@roadrunner.uk.com> <26749.1049812422@sss.pgh.pa.us> <3E92E1B5.9060201@roadrunner.uk.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