Skip to content

GetTimeZoneAsync

Returns the time zone offset of a DateTimeOffset value asynchronously.

1
myCalendar.GetTimeZoneAsync(dateTime: DateTimeOffset):Promise<string>

Parameters

DateTimeOffset dateTime
    Specifies the base DateTimeOffset value.

Returns

A Promise that resolves to a string representing the time zone offset in "hh:mm" format.

See Also