Westwind Utilities
TimeUtils.ToTimeZoneTime
Table of Contents
On this page:

TimeUtils.ToTimeZoneTime

Returns TimeZone adjusted time for a given from a Utc or local time. Date is first converted to UTC then adjusted.

public static DateTime ToTimeZoneTime(DateTime time, string timeZoneId)

Parameters

time

timeZoneId

Overloads

public static DateTime ToTimeZoneTime(DateTime time, TimeZoneInfo tzi)

© West Wind Technologies, 2026 • updated: Jan 02, 2026
Comment or report problem with topic