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

Initializes a new instance of the DT class.


Namespace: TwinCAT.PlcOpen
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

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

Parameters

year  Int32

The year.

month  Int32

The month.

day  Int32

The day.

hour  Int32

The hour.

minute  Int32

The minute.

second  Int32

The second.

Reference

DT Class DT Overload TwinCAT.PlcOpen Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026