save wiht time format

Lists: Postg토토 커뮤니티SQL : Postg토토 커뮤니티SQL 메일 링리스트 : 2005-02-25 이후 PGSQL-PHP 23:11
From: "enzo venegas palacios" <enzovenegas(at)mixmail(dot)com>
To: "pgsql-php(at)postgresql(dot)org" <pgsql-php(at)postgresql(dot)org>
Subject: save wiht time format
Date: 2005-02-25 23:11:23
Message-ID: E1D4ocF-0004pV-00@relay.mixmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: Postg토토 커뮤니티SQL : Postg토토 커뮤니티SQL 메일 링리스트 : 2005-02-25 이후 PGSQL-PHP 23:11


does anyone know how to save a date in postgres where my_ table have
format time. or to change this format.
thanks,

enzo
---------------------------------------------------------
Abnate a la primitiva. Descubre la forma ms fcil y cmoda de hacerse millonario. htp://sorteos.ya.com
ADSL + Llamadas 24 horas: desde 28,95 /mes + IVA. Navega y habla de forma ilimitada. Sin compromiso de permanencia. http://acceso.ya.com/ADSLllamadas/


From: "Gavin M(dot) Roy" <gmr(at)ehpg(dot)net>
To: enzovenegas(at)mixmail(dot)com
Cc: "pgsql-php(at)postgresql(dot)org" <pgsql-php(at)postgresql(dot)org>
Subject: Re: save wiht time format
Date: 2005-02-25 23:24:54
Message-ID: 1109373894.15480.17.camel@gmr-dev.cloud.glyphix.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: Postg토토SQL : Postg토토SQL 메일 링리스트 : 2005-02-25 이후 PGSQL-PHP 23:24

If you use a timestamp field (or date field) you can format the output
using the to_char function. The PgSQL docs have to_char very well
documented.

On Fri, 2005-02-25 at 18:11 -0500, enzo venegas palacios wrote:
> does anyone know how to save a date in postgres where my_ table have
> format time. or to change this format.
> thanks,
>
> enzo
> ---------------------------------------------------------
> Abnate a la primitiva. Descubre la forma ms fcil y cmoda de hacerse millonario. htp://sorteos.ya.com
> ADSL + Llamadas 24 horas: desde 28,95 /mes + IVA. Navega y habla de forma ilimitada. Sin compromiso de permanencia. http://acceso.ya.com/ADSLllamadas/
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if your
> joining column's datatypes do not match