TimeBase.ValueToTime Method (Int64)

Converts the timeValue (PlcOpen ticks) to TimeSpan

Namespace:  TwinCAT.PlcOpen
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public static TimeSpan ValueToTime(
    long timeValue
)

VB

Public Shared Function ValueToTime ( 
    timeValue As Long
) As TimeSpan

Parameters

timeValue

Type: System.Int64
The time value.

Return Value

Type: TimeSpan

Reference

TimeBase Class

ValueToTime Overload

TwinCAT.PlcOpen Namespace