Value.FromDateTime Method

Converts an instance of the DateTime class to the appropriate instance of the Value class.

Namespace:  TcHmiSrv.Core
Assembly:  TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0

Syntax

C#

public static Value FromDateTime(
    DateTime value
)

Parameters

value

Type: System.DateTime
The DateTime to convert.

Return Value

Type: Value
A Value that represents value.

Reference

Value Class

TcHmiSrv.Core Namespace