[This is preliminary documentation and is subject to change.]
Given the Date in UTC converts to the correct time in the given timezone
Namespace:
OfficeClip.UtilsAssembly: OfficeClip.Utils (in OfficeClip.Utils)
Version: 8.1.1.0
Syntax
C# |
---|
public static DateTime ConvertFromUtc( DateTime dt, TimeZoneInfo tz ) |
Visual Basic (Declaration) |
---|
Public Shared Function ConvertFromUtc ( _ dt As DateTime, _ tz As TimeZoneInfo _ ) As DateTime |
Visual C++ |
---|
public: static DateTime ConvertFromUtc( DateTime dt, TimeZoneInfo^ tz ) |
Parameters
- dt
- Type: System..::.DateTime
The date in given timezone
- tz
- Type: OfficeClip.Utils..::.TimeZoneInfo
The timezone