Value.ToDateTime Method (IFormatProvider)

Converts the Value to an equivalent DateTime using the specified IFormatProvider.

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

Syntax

C#

public DateTime ToDateTime(
    IFormatProvider provider
)

Parameters

provider

Type: System.IFormatProvider
An IFormatProvider that supplies culture-specific formatting information.

Return Value

Type: DateTime
A DateTime that is equivalent to the Value.

Implements

IConvertible.ToDateTime(IFormatProvider)

Reference

Value Class

ToDateTime Overload

TcHmiSrv.Core Namespace