From: | Gilberto Castillo Martínez <gilberto(dot)castillo(at)etecsa(dot)cu> |
---|---|
To: | Kernel <jucabapa(at)gmail(dot)com> |
Cc: | Ayuda <pgsql-es-ayuda(at)postgresql(dot)org> |
Subject: | Re: extraer las horas o minutos totales de un interval |
Date: | 2011-11-17 16:33:09 |
Message-ID: | 1321547589.4201.23.camel@gilbertoc.mtcorp.etecsa.cu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
El jue, 17-11-2011 a las 17:23 +0100, Kernel escribió:
> Hola,
> me gustaria saber si existe alguna función que me de las horas o los
> minutos TOTALES de un interval
>
> Necesito la diferencia saber los minutos trascurridos entre dos timestamp
>
> Algo asi
>
> interval ' 1 day 02:03:00' ---> 26 Horas
> ---> 1562 minutos
Ver documentación
http://developer.postgresql.org/pgdocs/postgres/functions-datetime.html#FUNCTIONS-DATETIME-EXTRACT
--
Saludos,
Gilberto Castillo
Edificio Beijing. Miramar Trade Center. Etecsa.
Miramar, La Habana.Cuba.
Attachment | Content-Type | Size |
---|---|---|
unknown_filename | text/plain | 179 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | ruben avila galindo | 2011-11-17 16:33:58 | ERROR Interval |
Previous Message | Marcos Alberto Flores Valda | 2011-11-17 16:27:12 | Re: extraer las horas o minutos totales de un interval |