Better solution for daysArray.