Re: duda to_timestamp

From: Javier Chávez B(dot) <jchavezb(at)gmail(dot)com>
To: Julio Cesar Rodriguez Dominguez <jurasec(at)gmail(dot)com>
Cc: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: duda to_timestamp
Date: 2009-06-01 15:40:20
Message-ID: ded64bba0906010840r6547ac5bw7407b3e09b8d5d7@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

2009/6/1 Julio Cesar Rodriguez Dominguez <jurasec(at)gmail(dot)com>

>
>
> El 1 de junio de 2009 10:22, Javier Chávez B. <jchavezb(at)gmail(dot)com>escribió:
> Lo he probado y mi resultado fué el siguiente:
>
> postgres(at)test[localhost]=# select to_timestamp('May 2 2007 3:52PM', 'Mon
> DD YYYY HH:MI:SS');
> to_timestamp
> ------------------------
> 2007-05-02 03:52:00-05
> (1 fila)
>
> Lo hace bien, lo único es que no sé, si se puede convertir 3:25 PM a un
> formato de 24 horas ó el equivalente correcto.
>

A mi no me da ese formato que raro ... :0( bueno creo que no me quedara
otra que las horas pasarlas a formato 0 - 24 ...

--
Cumprimentos
jchavez
linux User #397972 on http://counter.li.org/

George Bernard Shaw<http://www.brainyquote.com/quotes/authors/g/george_bernard_shaw.html>
- "A government that robs Peter to pay Paul can always depend on the
support of Paul."

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Gabriel Ferro 2009-06-01 15:40:21 Re: Desconexion cada cierto tiempo
Previous Message Julio Cesar Rodriguez Dominguez 2009-06-01 15:34:16 Re: duda to_timestamp