input checking of dateTime Works for me