secondsToDate now supports days