Changing dates in constructor