Util::Medley::DateTime - Class with various datetime methods.
version 0.002
my $dt = Util::Medley::DateTime->new; print $dt->localdatetime;
A small datetime library. This doesn't do any calculations itself, but provides some simple methods to call for getting the date/time in commonly used formats.
none
Returns the local date/time in the format: YYYY-MM-DD HH:MM:SS.
To install Util::Medley, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Util::Medley
CPAN shell
perl -MCPAN -e shell install Util::Medley
For more information on module installation, please visit the detailed CPAN module installation guide.