Added constrants on choice of time and date