I think that B10tts has a typo:

There seems to be a simple typo in this line which I guess is making the test NE and fall through to the Else statement:
if [ "$day" -gt 20 ] && [ "&day" -ne 30 ]

I'll try it later if I can remember how to drive Joe/Vi/whatever-it-is-editor