DB2TimeStamp.Parse Method
Converts the supplied String to DB2TimeStamp.
- Namespace:
IBM.Data.DB2Types
- Assembly:
IBM.Data.DB2
(inIBM.Data.DB2.dll
)
Syntax
[Visual Basic]
Public Shared Function Parse (szTimeStamp As String) As DB2TimeStamp
[C#]
public static DB2TimeStamp Parse (string szTimeStamp)
[C++]
public:
static DB2TimeStamp Parse (string szTimeStamp)
[JScript]
public static function Parse (szTimeStamp String ) : DB2TimeStamp
Parameters
- szTimeStamp
- A String value to be converted to DB2TimeStamp. The string representation of the timestamp must reflect the date format that corresponds to the territory code of the client application or be in the DB2TimeStamp format, yyyy-mm-dd-hh.mm.ss.ffffff.
Return value
A DB2TimeStamp structure with the numeric value of szTimeStamp.