SYS-37a1: All time-related code modified to support local client time