Implemented the Date and Time dialogues.