Re: save wiht time format

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
Thread:
Lists: pgsql-php

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

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Zouari Fourat 2005-02-26 14:55:05 is it a bug or is it my mistake ?
Previous Message enzo venegas palacios 2005-02-25 23:11:23 save wiht time format