in reply to Re^2: How to subtract date by 1 day
in thread How to subtract date by 1 day
Check the test reports and consider filing a bug report if the latest version doesn't work for you.use strict; use warnings; use Date::Simple qw(date); my $d = date("2008-01-01"); my $yesterday = $d - 1; print $yesterday; __END__ 2007-12-31
|
|---|