Re: Combine Date and Time Columns to Timestamp - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Combine Date and Time Columns to Timestamp
Date
Msg-id 50F9F178.4000307@gmail.com
Whole thread Raw
In response to Re: Combine Date and Time Columns to Timestamp  (Rich Shepard <rshepard@appl-ecosys.com>)
List pgsql-general
On 01/18/2013 04:26 PM, Rich Shepard wrote:
> On Fri, 18 Jan 2013, Adrian Klaver wrote:
>
>> How are they stored, as date and time type, strings, other?
>
> Adrian,
>
>    ISO date and time.
>
>> A sample of the data would help also.
>
>    Example:  2012-10-29  |  10:19   | 2012-10-30  | 09:40

Realized this would be a better form:

test=> SELECT ('2012-10-29'|| ' ' || '10:19')::timestamp;

>
> Rich
>
>
>


--
Adrian Klaver
adrian.klaver@gmail.com


pgsql-general by date:

Previous
From: Jasen Betts
Date:
Subject: Re: SELECT * and column ordering
Next
From: Jasen Betts
Date:
Subject: Re: Update rule on a view - what am I doing wrong