helpers to parse date
routes are use plan id and then date, helpers clean up logic
removed comments
events check for proper month year and duration