DT Constructor (Int32, Int32, Int32, Int32, Int32, Int32)

Initializes a new instance of the DT class.

Namespace:  TwinCAT.PlcOpen
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

public DT(
    int year,
    int month,
    int day,
    int hour,
    int minute,
    int second
)

Parameters

year

Type: System.Int32
The year.

month

Type: System.Int32
The month.

day

Type: System.Int32
The day.

hour

Type: System.Int32
The hour.

minute

Type: System.Int32
The minute.

second

Type: System.Int32
The second.

Reference

DT Class

DT Overload

TwinCAT.PlcOpen Namespace