Re: time format

From: ivan <iv(at)psycho(dot)pl>
To: Kurt Roeckx <Q(at)ping(dot)be>
Cc: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: time format
Date: 2004-01-03 21:20:57
Message-ID: Pine.LNX.4.56.0401032218430.16575@rex.anfa.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


ok, bat each time where i want to do select .. a nie tu use to_char,
but it should be in function timestamp_out to convert time to string
it would be easer and faster.

On Sat, 3 Jan 2004, Kurt Roeckx wrote:

> On Sat, Jan 03, 2004 at 09:25:14AM +0100, ivan wrote:
> >
> > but what about default style ?
> > first time when i saw DateStyle i thought that i can use it like C/C++
> > function strftime. I would be not bad idea to have custom data style :)
>
> Use to_char() function to put it in any format you want.
>
>
> Kurt
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Rory Campbell-Lange 2004-01-03 23:18:39 Re: Is my MySQL Gaining ?
Previous Message Oleg Bartunov 2004-01-03 16:15:57 Re: Postgres + Xapian (was Re: fulltext searching via a