dotConnect for DB2 Documentation
Devart.Data.DB2.DB2Types Namespace / DB2TimeStamp Structure / DB2TimeStamp Constructor / DB2TimeStamp Constructor(Int32,Int32,Int32,Int32,Int32,Int32,Int64,Int32)
The specified year.
The specified month.
The specified day.
The specified hour.
The specified minute.
The specified second.
The specified picosecond.
An integer value between 0 and 12, determining the number of decimal places of precision.

In This Topic
    DB2TimeStamp Constructor(Int32,Int32,Int32,Int32,Int32,Int32,Int64,Int32)
    In This Topic
    Initializes a new instance of the DB2TimeStamp structure with the specified year, month, day, hour, minute, second, and nanosecond.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal year As Integer, _
       ByVal month As Integer, _
       ByVal day As Integer, _
       ByVal hour As Integer, _
       ByVal minute As Integer, _
       ByVal second As Integer, _
       ByVal picosecond As Long, _
       ByVal precision As Integer _
    )
    public DB2TimeStamp( 
       int year,
       int month,
       int day,
       int hour,
       int minute,
       int second,
       long picosecond,
       int precision
    )

    Parameters

    year
    The specified year.
    month
    The specified month.
    day
    The specified day.
    hour
    The specified hour.
    minute
    The specified minute.
    second
    The specified second.
    picosecond
    The specified picosecond.
    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