DateBase.DateToValue Method
Converts the specified DateTime value to PlcOpen Ticks.
Namespace: TwinCAT.PlcOpen
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 4.3.0.0
Syntax
C#
public static long DateToValue(
DateTime date
)
VB
Public Shared Function DateToValue (
date As DateTime
) As Long
Parameters
date |
Type: System.DateTime |
Return Value
Type: Int64