SPOPSx::Tool::DateTimeSPOPSx::Tool::DateTime is a SPOPS extension for arbitrarily formatted DateTime fields. | |
Download |
SPOPSx::Tool::DateTime Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Andrew Sterling Hanenkamp
- Publisher web site:
- http://search.cpan.org/~hanenkamp/
SPOPSx::Tool::DateTime Tags
SPOPSx::Tool::DateTime Description
SPOPSx::Tool::DateTime is a SPOPS extension for arbitrarily formatted DateTime fields. 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:· PerlINSTALLATIONTypical: perl Build.PL ./Build ./Build test ./Build installor: perl Makefile.PL make make test make install
SPOPSx::Tool::DateTime Related Software