Item11003: make time functions work with dates before 1970

A date before 01.01.1970 has a negative epoch. Perl time functions can handle this. This patch allows a negative epoch in CALC time functions.