creating array of date and disabling invite button