I am trying to validate a date of the form dd / MM / yyyy hh: mm but in doing so with the code below, I would validate any correct date format.
try
{
DateTime.Parse(Fecha);
FechaError = 0;
}
catch
{
FechaError = 2;
}