I use the has_a relationship using the Time::Piece::MySQL module which will do the formatting and stringifying for you.
use Time::Piece::MySQL; __PACKAGE__->has_a(created => 'Time::Piece', inflate => 'from_mysql_datetime', deflate => 'mysql_datetime', );
- Cees
In reply to Re: Date conversion with Class::DBI
by cees
in thread Date conversion with Class::DBI
by bsb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |