day - print a formatted date
Some of these may work.
day today day tomorrow day yesterday day next th day next thursday day last wednesday day last week day this week day last month day last mo-fr day next first tu day next last th day 2 weeks away day 2 weeks from tomorrow
print_date(@stuff);
string_dates(@stuff);
$date = make_date(@stuff);
my $date = days_ago($number);
Will eventually do more.
my @list = next_last('next|last', $date_obj, 'week');
Returns all of the days (inclusive) between $day1 and $day2 (or $now) if $day2 is omitted.
from($now, $day1, to => $day2);
To install Date::Piece, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Date::Piece
CPAN shell
perl -MCPAN -e shell install Date::Piece
For more information on module installation, please visit the detailed CPAN module installation guide.