This documentation is archived and is not being maintained.

DateTime.TryParse Method

Converts the specified string representation of a date and time to its DateTime equivalent.

Name Description
DateTime.TryParse (String, DateTime) Converts the specified string representation of a date and time to its DateTime equivalent.
DateTime.TryParse (String, IFormatProvider, DateTimeStyles, DateTime) Converts the specified string representation of a date and time to its DateTime equivalent using the specified culture-specific format information and formatting style.
Show: