s/getDay/getDate/

Turns out JavaScript has a really really stupid and useless standard library.

Who knew.