SPOPSx::Tool::DateTime is a SPOPS extension for arbitrarily formatted DateTime fields.
SYNOPSIS
%conf = (
table_alias => {
# ...
datetime_format => {
atime => 'DateTime::Format::MySQL',
mtime => 'DateTime::Format::Baby',
ctime => DateTime::Format::Strptime->new(pattern => '%D %T'),
},
# ...
}
);
This module allows for DateTime objects to be stored to and loaded from a database field. This module differs from the SPOPS::Tool::DateConvert tool that is distributed with SPOPS in that it allows for the use of arbitrary DateTime format objects. (See http://datetime.perl.org/ for details on DateTime and formatting.)
Requirements:
· Perl
INSTALLATION
Typical:
perl Build.PL
./Build
./Build test
./Build install
or:
perl Makefile.PL
make
make test
make install
Product's homepage