Note:See the string class for the list of white space characters.
Only the DateTimeStyles.NoCurrentDateDefault option affects the DateTime.Parse(string) method. DateTime.Parse(string) always ignores leading, inner, and trailing white spaces.
Member Name Description AdjustToUniversal Specifies that the date and time must be converted to universal time coordinate time or Greenwich mean time (GMT) AllowInnerWhite Specifies that extra white space characters not specified in the System.Globalization.DateTimeFormatInfo format patterns are allowed. AllowLeadingWhite Specifies that leading white space characters are allowed. AllowTrailingWhite Specifies that trailing white space characters are allowed. AllowWhiteSpaces Specifies that white space characters anywhere in the string are allowed. AssumeLocal Documentation for this section has not yet been entered. AssumeUniversal Documentation for this section has not yet been entered. NoCurrentDateDefault Specifies that there is no current date default. If a string contains only the time and not the date, and this option is used with the DateTime.Parse(string) or DateTime.ParseExact(string, string, IFormatProvider) methods, a Gregorian year 1, month 1, day 1 date is assumed. In all other cases the methods assume the current local system date. None Specifies that the default formatting options are to be used. RoundtripKind Documentation for this section has not yet been entered.
Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0