Force date to be integer