modified dates to be 3 ints