Date plus 1 and minus 1

([DAY_1_31]==31?1:[DAY_1_31]+1)

And

([DAY_1_31]==1?31:[DAY_1_31]-1)

Actually what u trying to do…there may be easier ways to get what u want