Implmented validation of dates in ConsoleUI