_PropertyAccessor.UTCToLocalTime(DateTime) Method

Definition

Converts the DateTime value that is specified by Value and expressed in Coordinated Universal Time (UTC) to a value in local time.

public:
 DateTime UTCToLocalTime(DateTime Value);
public DateTime UTCToLocalTime (DateTime Value);
Public Function UTCToLocalTime (Value As DateTime) As DateTime

Parameters

Value
DateTime

The DateTime value to be converted from UTC to local time.

Returns

A DateTime value that represents Value after being converted from UTC to local time.

Remarks

For more information on type conversion when using the PropertyAccessor object, see Best Practices for Getting and Setting Properties

Applies to