Codeunit 8721 Time Zone Impl.
Source AL, 80 lines
src/System Application/App/Date and Time/src/TimeZoneImpl.Codeunit.allines 10 to 25 of 80, Copyright (c) Microsoft Corporation. MIT
codeunit 8721 "Time Zone Impl."{ Access = Internal; InherentEntitlements = X; InherentPermissions = X; var TimeZoneInfoDotNet: DotNet TimeZoneInfo; InvalidTimeZoneIdErr: Label 'You have passed an invalid timezone ID (%1). Please reference the time zone list for supported time zone IDs.', Comment = '%1 = The invalid time zone ID passed to the procedure.'; procedure GetUtcOffset(SourceDateTime: DateTime; TimeZoneId: Text): Duration var Offset: Duration; begin InitializeTimeZoneInfo(TimeZoneId, TimeZoneInfoDotNet); Offset := TimeZoneInfoDotNet.GetUtcOffset(SourceDateTime);Public procedures 6 in 29
| Get | new in 22 |
| Get | new in 22 |
| Get | new in 22 |
| Time | new in 22 |
| Is | new in 22 |
| Initialize | new in 22 |