my $start = ParseDate('now'); my $end = "2017123123:59:59"; # Instead of my ($start, $end) = qw(2017-01-01 2017-12-31);