Login | Register
My pages Projects Community openCollabNet

Discussions > users > Setting date and time to postgresql format

propel
Discussion topic

Back to topic list

Setting date and time to postgresql format

Reply

Author "=?iso-8859-1?Q?Hallgr=EDmur_Th dot _Bj=F6rnsson?=" <hallgrimur at gmail dot com>
Full name "=?iso-8859-1?Q?Hallgr=EDmur_Th dot _Bj=F6rnsson?=" <hallgrimur at gmail dot com>
Date 2005-05-16 15:55:05 PDT
Message Sorry if I suffer from lack of knowledge of PHP. I am a PHP newbie. I am
also sorry if this turns out to be a PHP problem, not specific to Propel.

 

I noticed that Propel maps the timestamp datatype in Postgresql to integer.

 

I have two strings (got from a web service).

Date: "5/16/2005"
Time: "3:17pm"

 

How would I put that into the Postgresql database through Propel?

 

Thanks.
Attachments

« Previous message in topic | 1 of 6 | Next message in topic »

Messages

Show all messages in topic

Setting date and time to postgresql format "=?iso-8859-1?Q?Hallgr=EDmur_Th dot _Bj=F6rnsson?=" <hallgrimur at gmail dot com> "=?iso-8859-1?Q?Hallgr=EDmur_Th dot _Bj=F6rnsson?=" <hallgrimur at gmail dot com> 2005-05-16 15:55:05 PDT
     Re: [propel] Setting date and time to postgresql format hlellelid Hans Lellelid 2005-05-16 19:05:09 PDT
         RE: [propel] Setting date and time to postgresql format "=?iso-8859-1?Q?Hallgr=EDmur_Th dot _Bj=F6rnsson?=" <hallgrimur at gmail dot com> "=?iso-8859-1?Q?Hallgr=EDmur_Th dot _Bj=F6rnsson?=" <hallgrimur at gmail dot com> 2005-05-16 19:11:39 PDT
             Re: [propel] Setting date and time to postgresql format hlellelid Hans Lellelid 2005-05-16 19:42:54 PDT
                 RE: [propel] Setting date and time to postgresql format "=?iso-8859-1?Q?Hallgr=EDmur_Th dot _Bj=F6rnsson?=" <hallgrimur at gmail dot com> "=?iso-8859-1?Q?Hallgr=EDmur_Th dot _Bj=F6rnsson?=" <hallgrimur at gmail dot com> 2005-05-16 22:34:55 PDT
                     RE: [propel] Setting date and time to postgresql format =?iso-8859-1?Q?David_Z=FClke?= <dz at bitxtender dot com> =?iso-8859-1?Q?David_Z=FClke?= <dz at bitxtender dot com> 2005-05-17 02:02:50 PDT
Messages per page: