TimeApplyTimeZone Method
Adjusts the date to the provided time zone.
Namespace: Aliquo.CoreAssembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
public static DateTimeOffset ApplyTimeZone(
DateTime date,
TimeZoneInfo timeZone
)
Public Shared Function ApplyTimeZone (
date As DateTime,
timeZone As TimeZoneInfo
) As DateTimeOffset
- date DateTime
- Date
- timeZone TimeZoneInfo
- Time Zone
DateTimeOffsetDateTimeOffset with the date adjusted.