diff --git a/lib/WebGUI/Session/DateTime.pm b/lib/WebGUI/Session/DateTime.pm index 4fd469af1..1dab2cb20 100644 --- a/lib/WebGUI/Session/DateTime.pm +++ b/lib/WebGUI/Session/DateTime.pm @@ -950,7 +950,7 @@ sub setToEpoch { } unless ($dt) { $self->session->errorHandler->warn("Could not format date $set for epoch. Returning current time"); - return $time(); + return time(); } return $dt->epoch; }