Re: Resta Horas y dias

From: "Victor Lopez" <d01m01a2000(at)gmail(dot)com>
To: "Edwin Quijada" <listas_quijada(at)hotmail(dot)com>, pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: Resta Horas y dias
Date: 2007-04-12 18:00:59
Message-ID: ae043d070704121100xab8d673s3a655ce92c69242@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

El 12/04/07, Alvaro Herrera <alvherre(at)commandprompt(dot)com> escribió:

> Conviertelas a tipo timestamptz:
>
> alvherre=# select '2007-4-12 8:30pm'::timestamptz - '2007-4-13 3:00 am';
> ?column?
> -----------
> -06:30:00
> (1 fila)

Solo una pregunta. Porque conviertes la primera parte ('2007-4-12
8:30pm'::timestamptz) y no la segunda ('2007-4-13 3:00 am') ?

--
----o---( )---o----
Saludos de Victor Lopez Sabio
d01m01a2000(at)gmail(dot)com
--------oooo--------

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Alvaro Herrera 2007-04-12 18:11:37 Re: Resta Horas y dias
Previous Message Miguel Ortega 2007-04-12 17:52:07 Re: Hola Lista