Dave Cross: Still Munging Data With Perl: Online event - Mar 17 Learn more

NAME

Util::Medley::DateTime - Class with various datetime methods.

VERSION

version 0.006

SYNOPSIS

my $dt = Util::Medley::DateTime->new;
print $dt->localdatetime;

DESCRIPTION

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.

ATTRIBUTES

none

METHODS

localdatetime

Returns the local date/time in the format: YYYY-MM-DD HH:MM:SS.