Re: [GENERAL] Date time insertion - Mailing list pgsql-general

From John Huttley
Subject Re: [GENERAL] Date time insertion
Date
Msg-id 010f01bebdde$e17ce280$1401a8c0@Mr_Creosote.MWK.co.nz
Whole thread Raw
Responses Re: [GENERAL] Date time insertion  (dustin sallings <dustin@spy.net>)
List pgsql-general
I use '1999-04-21 21:23:21' type format with sucess.

Regards

-----Original Message-----
From: Bob Kruger <bkruger@mindspring.com>
To: pgsql-general@postgreSQL.org <pgsql-general@postgreSQL.org>;
pgsql-sql@postgreSQL.org <pgsql-sql@postgreSQL.org>
Date: Thursday, 24 June 1999 07:07
Subject: [GENERAL] Date time insertion


>
>I am trying to insert both the date and the time into a datetime field.
>
>If the field datetime in table v1 is dt, then the following successfully
>inserts the date into the datetime field:
>
>insert into v1 (date) values ('19990401') ;
>
>However, if I also wanted to retain the time of day, the following does not
>work:
>
>insert into v1 (date) values ('199904011530') ;
>
>Any hints?
>
>Thanks in advance.
>
>Regards - Bob Kruger
>
>


pgsql-general by date:

Previous
From: "Matt Magoffin (Borders Online)"
Date:
Subject: RE: [GENERAL] ERROR: typeidTypeRelid: Invalid type - oid = 0
Next
From: "Matt Magoffin (Borders Online)"
Date:
Subject: ERROR: Unable to open PostgreSQL large object