pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gavin M. Roy <gmr@ehpg.net>
To: enzovenegas@mixmail.com
Cc: pgsql-php@postgresql.org <pgsql-php@postgresql.org>
Subject: Re: save wiht time format
Date: Fri, 25 Feb 2005 15:24:54 -0800
Message-ID: <1109373894.15480.17.camel@gmr-dev.cloud.glyphix.com> (raw)
In-Reply-To: <E1D4ocF-0004pV-00@relay.mixmail.com>
References: <E1D4ocF-0004pV-00@relay.mixmail.com>

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




view thread (2+ messages)

Message-ID: <1109373894.15480.17.camel@gmr-dev.cloud.glyphix.com>
Permalink:  ../1109373894.15480.17.camel@gmr-dev.cloud.glyphix.com/
Also on:    postgresql.org/message-id/1109373894.15480.17.camel@gmr-dev.cloud.glyphix.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-php@postgresql.org
  Cc: gmr@ehpg.net, enzovenegas@mixmail.com
  Subject: Re: save wiht time format
  In-Reply-To: <1109373894.15480.17.camel@gmr-dev.cloud.glyphix.com>
  References: <E1D4ocF-0004pV-00@relay.mixmail.com> <1109373894.15480.17.camel@gmr-dev.cloud.glyphix.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