Consider the following code to parse a date. (Note that I\'m in the EN-gb locale):
const DateTimeStyles DATE_TIME_STYLES = DateTimeStyles.NoCurrentDateDefault |
You can use parse exact like this and catch the exception.
CurrentUICulture.DateTimeFormat.ShortDatePattern
will give you the cultures short date pattern.
There is also DateTime.TryParseExact
DateTime.ParseExact(value.ToString(), cultureInfo.CurrentUICulture.DateTimeFormat.ShortDatePattern.ToString, cultureInfo.CurrentUICulture)