DT Class

PlcOpen DT (DATE_AND_TIME) datatype.

Inheritance Hierarchy

SystemObject
  TwinCAT.PlcOpenDateBase
    TwinCAT.PlcOpenDT

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

Syntax

C#

public sealed class DT : DateBase

The DT type exposes the following members.

Constructors

 

Name

Description

DT Class 1:

DT

Initializes a new instance of the DT class.

DT Class 2:

DT(DateTime)

Initializes a new instance of the DT class.

DT Class 3:

DT(DateTimeOffset)

Initializes a new instance of the DT class.

DT Class 4:

DT(UInt32)

Initializes a new instance of the DT class.

DT Class 5:

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

Initializes a new instance of the DT class.

Properties

 

Name

Description

DT Class 6:

DateTime

Gets or the date value (only the Date part of the DateTime)

DT Class 7:

Ticks

Returns the number of ticks that represent the value of this DateBase.
(Inherited from DateBase)

Methods

 

Name

Description

DT Class 8:

Equals

Determines whether the specified Object is equal to this instance.
(Inherited from DateBase)

DT Class 9:

GetHashCode

Gets the HashCode of the Address
(Inherited from DateBase)

DT Class 10:

GetType

Gets the Type of the current instance.
(Inherited from Object)

DT Class 11:

DT Class 12:

Parse

Parses the specified string to the DT object.

DT Class 13:

ToString

Returns a String that represents this instance.
(Overrides ObjectToString)

DT Class 14:

DT Class 15:

TryParse

Tries to parse the specified string to a DT object.

Reference

TwinCAT.PlcOpen Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026