Added time and date format validator and existence checker functions