Updating getDate ex to repo