DATE Class

PlcOpen DATE class (32-bit)

Inheritance Hierarchy

SystemObject
  TwinCAT.PlcOpenDateBase
    TwinCAT.PlcOpenDATE

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

Syntax

C#

public sealed class DATE : DateBase

The DATE type exposes the following members.

Constructors

 

Name

Description

DATE Class 1:

DATE

Initializes a new instance of the DATE class.

DATE Class 2:

DATE(DateTime)

Initializes a new instance of the DATE class.

DATE Class 3:

DATE(DateTimeOffset)

Initializes a new instance of the DATE class.

DATE Class 4:

DATE(UInt32)

Initializes a new instance of the DATE class.

DATE Class 5:

DATE(Int32, Int32, Int32)

Initializes a new instance of the DATE class.

Properties

 

Name

Description

DATE Class 6:

Date

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

DATE Class 7:

Ticks

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

Methods

 

Name

Description

DATE Class 8:

Equals

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

DATE Class 9:

GetHashCode

Gets the HashCode of the Address
(Inherited from DateBase)

DATE Class 10:

GetType

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

DATE Class 11:

DATE Class 12:

Parse

Parses the specified string to a DATE object.

DATE Class 13:

ToString

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

DATE Class 14:

DATE Class 15:

TryParse

Tries to parse the specified string to a DATE object.

Reference

TwinCAT.PlcOpen Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026