I converting date format from MM/dd/yyyy to dd/MM/yyyy
for example
DateTime dt = DateTime.ParseExact(from, "dd/MM/yyyy", CultureInfo.InvariantCulture);
DateTime dt1 = DateTime.ParseExact(To, "dd/MM/yyyy", CultureInfo.InvariantCulture);