DB2®Date.Parse Method
Converts the supplied String to DB2Date.
- Namespace:
IBM.Data.DB2Types- Assembly:
IBM.Data.DB2(inIBM.Data.DB2.dll)
Syntax
[Visual Basic]
Public Shared Function Parse (szDate As String) As DB2Date
[C#]
public static DB2Date Parse (string szDate)
[C++]
public:
static DB2Date Parse (string szDate)
[JScript]
public static function Parse (szDate String ) : DB2Date
Parameters
- szDate
- A String value to be converted to DB2Date. The string representation of the date must reflect the date format that corresponds to the territory code of the client application.
Return value
A DB2Date structure with the numeric value of szDate.