Add convert date format string to NSDate.
Modify getPreviousMonth and getNextMonth.