IdtTimeZoneToLocalTime Method

Returns the local time that corresponds to a specified coordinated universal time (UTC).

Definition

Namespace: InnerDrive.TimeZones
Assembly: InnerDrive.TimeZones (in InnerDrive.TimeZones.dll) Version: 5.2.9017.0
C#
public DateTimeOffset ToLocalTime(
	DateTimeOffset time
)

Parameters

time  DateTimeOffset
A UTC time.

Return Value

DateTimeOffset
A DateTime instance whose value is the local time that corresponds to time.

Remarks

The method assumes that time is UTC.

See Also