updated date to local time