WE::Util::Date - date-specific functions
use WE::Util::Date; print scalar localtime isodate2epoch("2001-12-12 12:23:00");
This is a helper class for date functions.
Return time in seconds since UNIX epoch for the given ISO 8601 string (YYYY-MM-DD HH:MM:SS or YYYY-MM-DD). If Date::Manip is installed, more ISO formats are allowed.
Return time as ISO 8601 date from given time in seconds since UNIX epoch.
Return the short time à la "ls -al". (Not exported by default).
Slaven Rezic - slaven@rezic.de
To install WE::DB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WE::DB
CPAN shell
perl -MCPAN -e shell install WE::DB
For more information on module installation, please visit the detailed CPAN module installation guide.