Finding Sundays and 2/4th Saturdays [closed]

i have the code below to find Sundays and 2nd/4th Saturdays but them seem to map to the wrong date i have fixed the date fron 21 of a month to the 20th of the next month

generate sundays and 2/4th saturdays but they are off by 8 dyas