DateTime.Parse Method

July 28, 2014

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Static member Parse(String) Converts the specified string representation of a date and time to its DateTime equivalent.
Public method Static member Parse(String, IFormatProvider) Converts the specified string representation of a date and time to its DateTime equivalent using the specified culture-specific format information.
Public method Static member Parse(String, IFormatProvider, DateTimeStyles) Converts the specified string representation of a date and time to its DateTime equivalent using the specified culture-specific format information and formatting style.
Top

Show:
© 2014 Microsoft