DATE Class

PlcOpen DATE class

Inheritance Hierarchy

System.Object
  TwinCAT.PlcOpen.DateBase
    TwinCAT.PlcOpen.DATE
Namespace:  TwinCAT.PlcOpen
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public sealed class DATE : DateBase

VB

Public NotInheritable Class DATE
    Inherits DateBase

The DATE type exposes the following members.

Constructors

 

Name

Description

DATE.

Initializes a new instance of the DATE class.

DATE(DateTime)

Initializes a new instance of the DATE class.

DATE(Int64)

Initializes a new instance of the DATE class.

DATE(UInt32)

Initializes a new instance of the DATE class.

DATE(Int32, Int32, Int32)

Initializes a new instance of the DATE class.

Properties

 

Name

Description

Date

Gets or sthe date value. (Inherited from DateBase.)

Ticks

Returns the number of ticks that represent the value of this IPlcOpenType (uint32 or uint64). (Inherited from DateBase.)

Methods

 

Name

Description

Equals

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

GetHashCode

Gets the HashCode of the Address (Inherited from DateBase.)

GetType

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

Parse

Parses the specified string to a DATE object.

ToString

Returns a String that represents this instance. (Overrides Object.ToString..)

TryParse

Tries to parse the specified string to a DATE object.

Reference

TwinCAT.PlcOpen Namespace