Renamed getDate to getDay. Fixes #2

Would appreciate a merge.