Timezone Utils

Timezone Utils (ODC)

Stable version 0.1.1 (Compatible with ODC)
Uploaded on 20 October 2022 by Product League
Timezone Utils

Timezone Utils (ODC)

Documentation
0.1.1

Use actions of Timezone Utils library if you want to convert a given client-side time to a time in a specific timezone.


Action ConvertDateTimeByTimezoneOffset:

Converts a datetime from the end-user timezone to TimeZone Offset.

TimezoneOffset input parameter is in minutes and defaults to UTC offset = 0.



Action ConvertDateTimeToUTC:

Converts a datetime from the end-user timezone to UTC.



Action GetCurrentTimezoneOffset:

Returns the timezone offset of the current time.



Action GetTimeInTimezone:

Returns the current time in the timezone that is indicated in the input parameters.

TimezoneRawDSTOffset input parameter value is added to the offset, when provided. 



Action GetUTCDateTime:

Returns the UTC time in DateTime data type.