DateBase.ValueToDate Method (UInt32)

Converts the specified PlcOpen dateValue in ticks to a DateTime Object

Namespace:  TwinCAT.PlcOpen
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 5.0.294+Branch.releases-5.0.Sha.90bb9a1b43b6095934fddca3e72bc0ea15da1c14

Syntax

C#

public static DateTimeOffset ValueToDate(
    uint dateValue
)

Parameters

dateValue

Type: System.UInt32
The date value.

Return Value

Type: DateTimeOffset

Reference

DateBase Class

ValueToDate Overload

TwinCAT.PlcOpen Namespace