Check avaliable date and change on date-time.js