SqlDateTime.Parse(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts the specified String representation of a date and time to its SqlDateTime equivalent.
public:
static System::Data::SqlTypes::SqlDateTime Parse(System::String ^ s);
public static System.Data.SqlTypes.SqlDateTime Parse (string s);
static member Parse : string -> System.Data.SqlTypes.SqlDateTime
Public Shared Function Parse (s As String) As SqlDateTime
Parameters
- s
- String
The string
to be parsed.
Returns
A SqlDateTime structure equal to the date and time represented by the specified string
.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.