Accepting the Date and Time entered by the user