Mono Class Library: System.TimeZone Overview | Members

System.TimeZone.ToLocalTime Method

Converts a UTC DateTime into the local time for the given time zone.

public virtual DateTime ToLocalTime (DateTime time)

Parameters

time
A DateTime object which is assumed to be UTC.

Returns

A DateTime object adjusted for the object's time zone.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0