Force date value to int