in reply to Re: DateTime issues
in thread DateTime issues

my $reservation_date = localtime->strptime("2020-03-15#", "%Y-%m-%d#") +; my $one_year_from_now = $reservation_date->add_months(-12); if ($reservation_date > $one_year_from_now) {

That's a confusing name for that variable, and also that comparison will always be true.