#11507 [Master] Fix Unix timestamp timezone conversion
Unix timestamp conversion in TypeHelper now delegates to System.DateTime's Unix Timestamp codeunit to avoid incorrectly shifting UTC instants by the user's timezone offset, especially during daylight saving time.
- 2files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-09-23 by haoranpb · 2 files (+52 -16), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- TypeHelper.EvaluateUnixTimestamp previously added timezone offset when converting Unix timestamps, causing one-hour shifts during summer time
- Conversion now uses System.DateTime’s Unix Timestamp codeunit which correctly uses DateTimeOffset.FromUnixTimeSeconds
- Tests verify that the same UTC instant is returned regardless of user timezone (UTC or Central Europe Standard Time)
- Fixes issue where Central European summer time shifted the represented UTC instant by one hour
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 10 “Type Helper”, Base Application: modified
Also merged into
- #12928 into
releases/29.xon 2026-11-04
Context
- Work items: AB#650271
- Labels: Team: Integrations
- Systems: development
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- About dates in Business Central — possibly related: DateTime fields and timezone conversion in Business Central (model-linked)
Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).