updated date to Int