This helps in cases where CMOS clock set to UTC time.
Reviewed by: msmith, peter Obtained from: ncplib