DateBase.ValueToDate Method (Int64)
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(
long dateValue
)
Parameters
dateValue |
Type: System.Int64 |
Return Value
Type: DateTimeOffset