Convert the specified Date/Time in a specified Time Zone into a UTC Date/Time.

Syntax

ISTimeZoneFunctions.ConvertTimeZoneToUtcDateTime(date, timeZoneId)

Parameters

NameTypeOptionalByRefDescription
date Date
timeZoneId String A Time Zone Id. If blank, the Database Time Zone defined under Global Settings will be used.

Return Value

Date

A Date value with a DateTimeKind of 'Utc'.

Member of:
ISTimeZoneFunctions
Namespace:
Intersoft.ISSupport6
Assembly:
ISSupport6, Version=6.0.3
Target Framework:
.NET 9.0