set-date-time: update code