Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

Community Additions

Show:
© 2016 Microsoft