If cdt is set, use it as current timestamp