I have a method for verifying a datetime, it uses tryParse to do so, the problem is in my computer it returns true when validating a date with format dd/mm/yyyy and in another computer with format mm/dd/yyyy it return false.
How can i manage this?
verifiyDate(String date)
{
DateTime temp;
if (DateTime.TryParse(date.Trim(), out temp))
{
return true;
}
return false;
}