change year to integer