my $date = new RT::Date($session{CurrentUser});
$date->Set(Value=>$endRange - $n, Format => 'unix');
# Note: we used to adjust the time to local midnight, but
my $date = new RT::Date($session{CurrentUser});
$date->Set(Value=>$endRange - $n, Format => 'unix');
# Note: we used to adjust the time to local midnight, but