Use DateSimpleFormat to parse month

And don't use deprecated Date.getDay()