DateBase.DateToValue Method
Converts the specified DateTime value to PlcOpen Ticks.
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 long DateToValue(
DateTimeOffset date
)
Parameters
date |
Type: System.DateTimeOffset |
Return Value
Type: Int64