[Dbix-class] DBIx::Class::InflateColumn::DateTime for DB2

Dave Howorth dhoworth at mrc-lmb.cam.ac.uk
Wed Jan 17 10:41:29 GMT 2007


Jess Robinson wrote:
> I would prefer to remove the "timestamp isa datetime" line in
> InflateColumn::DateTime.
> 
> IIRC, some DBs have both, and the formatting isn't quite the same? MySQL
> 3.x anyone?

Yes, timestamps are different to datetimes. timestamps have limited
range and complicated auto-setting rules and the format varies in
different ways on different versions. If you need more detail, see:

<http://dev.mysql.com/doc/refman/4.1/en/datetime.html>


Cheers, Dave



More information about the Dbix-class mailing list