Jifty::DBI::Filter::DateTime - DateTime object wrapper around date columns
This filter allow you to work with DateTime objects instead of plain text dates. If the column type is "date", then the hour, minute, and second information is discarded when encoding.
If value is DateTime object then converts it into ISO format YYYY-MM-DD hh:mm:ss. Does nothing if value is not defined or string.
YYYY-MM-DD hh:mm:ss
If value is defined then converts it into DateTime object otherwise do nothing.
Jifty::DBI::Filter, DateTime
To install Jifty::DBI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Jifty::DBI
CPAN shell
perl -MCPAN -e shell install Jifty::DBI
For more information on module installation, please visit the detailed CPAN module installation guide.