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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.