CultureInfo :
It’s Provides information about a specific culture.The information includes the names for the culture, the writing system, the calendar used, the sort order of strings, and formatting for dates and numbers.
Code :
using System.Globalization;//namespace DateTime From = DateTime.ParseExact(txtFrom.Text, "dd/MM/yyyy", CultureInfo.InvariantCulture);
Published Url : String was not Recognized as a Valid Datetime