ValueToDateTime(IFormatProvider) Method

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


Namespace: TcHmiSrv.Core
Assembly: TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9

Syntax

C#

public DateTime ToDateTime(
    IFormatProvider provider
)

Parameters

provider  IFormatProvider

An IFormatProvider that supplies culture-specific formatting information.

Return Value

DateTime
A DateTime that is equivalent to the Value.

Implements

IConvertibleToDateTime(IFormatProvider)

Version Information

Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0

Reference

Value Class ToDateTime Overload TcHmiSrv.Core Namespace

Copyright © Beckhoff Automation GmbH & Co. KG