Freigeben über


DateValue.GetConvertedValue(TimeZoneInfo) Method

Definition

Converts To UTC time if value is not utc and timeZoneInfo is utc. Converts from UTC time if value is utc and timeZoneInfo is non utc. else returns the value/>/>. NOTE: if timeZoneInfo is null, Local time zone is used.

public DateTime GetConvertedValue(TimeZoneInfo timeZoneInfo);
member this.GetConvertedValue : TimeZoneInfo -> DateTime
Public Function GetConvertedValue (timeZoneInfo As TimeZoneInfo) As DateTime

Parameters

timeZoneInfo
TimeZoneInfo

Returns

Applies to