Just answer the questions in the beginning, and the Scratch cat will do the rest! (Make sure to say the number of the month, not the word - ie. January is 1, February is 2, March is 3, etc.)
Here's the website I used to transfer the equation into code: http://mathforum.org/dr.math/faq/faq.calendar.html (I used the Key Value Method)