Add indToMonth, indToWeekDay functions