dotConnect for DB2 Documentation
Devart.Data.DB2.DB2Types Namespace / DB2TimeStamp Structure / DB2TimeStamp Constructor / DB2TimeStamp Constructor(DateTime,Int32)
The specified System.DateTime.
An integer value between 0 and 12, determining the number of decimal places of precision.

DB2TimeStamp Constructor(DateTime,Int32)
Initializes a new instance of the DB2TimeStamp structure with the specified System.DateTime.
Syntax
'Declaration
 
Public Function New( _
   ByVal value As Date, _
   ByVal precision As Integer _
)
 

Parameters

value
The specified System.DateTime.
precision
An integer value between 0 and 12, determining the number of decimal places of precision.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also