[geeklog-devel] [Fwd: Re: [propel] Multiple DBMS's and date/time]
vfuria at gmail.com
Wed Dec 22 12:46:24 EST 2004
Propel functions that set date/time columns can commutate common
string formats into dates. It's actually pretty cool how flexible it
On Wed, 22 Dec 2004 10:46:57 -0600, Tony Bibbs <tony at tonybibbs.com> wrote:
> Blaine Lang wrote:
> >Will we still not need Library functions then to compare dates in code as I
> >think you need to convert the YY-MM-DD HH:MM:SS Date/time format strings to
> >UNIX Timestamps for comparison in code - correct?
> >Or did I read that you can request Propel to do this converstion when
> >retrieving the field?
> Right, when you pull a date out of a domain object you can do something
> $myObj->getSomeDateMember('<date format');
> I wouldn't assume, though, that you don't have to convert them to a
> date/time format when saving. It'll take some testing.
> geeklog-devel mailing list
> geeklog-devel at lists.geeklog.net
More information about the geeklog-devel