sqlinsight-pro/docs
Søren Eggert Lundsteen Olsen 66ed4e11b3 Review 1.4: AX 3.0/4.0 local times in the AX time zone, with its DST rules
Axapta 3.0 and AX 4.0 store batch and cleanup times as a local date plus
seconds. They were turned into UTC with the SQL Server's offset at collection
time, so every time from the other side of a DST change was an hour off (a job
planned 01:50 CET on the spring night looked 70 minutes late at 03:00 CEST),
and a SQL Server running UTC behind a CET AOS shifted every time.

AxLocalTime converts with the rules of the AX time zone on that date:
SQLInsight:DynamicsAx:LocalTimeZone (Windows or IANA id), else the agent's own
zone when its offset matches the SQL Server's, else the server's offset (to the
nearest quarter hour) with a Danish data note. The skipped spring hour and the
repeated autumn hour get standard time (deterministic, never throws, never a
false "late"); seconds outside 0..86400 are unknown and 86400 is midnight. The
AX 3.0 cleanup time is local by version, also when LATESTCLEANTIME is missing.
AX 2009+ UTC times are untouched. Also: remaining numbers cannot overflow for
HIGHEST = Int64.MaxValue, and run keys use the invariant culture.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-02 14:19:17 +02:00
..
dynamics-ax Dynamics AX core: central detector, per-version schema adapters, read-access GRANT 2026-10-02 13:52:58 +02:00
analyse.md Review 1.2: document the new collection limits 2026-10-02 11:35:54 +02:00
community.md Forum: one SEOSoft forum at forum.seosoft.dk, SQLInsight Pro as a category 2026-09-30 10:34:29 +02:00
databehandling.md Docs: Dynamics AX (1.4) 2026-10-02 13:54:36 +02:00
dynamics-ax.md Review 1.4: AX 3.0/4.0 local times in the AX time zone, with its DST rules 2026-10-02 14:19:17 +02:00
fejllog.md SQL Server error log without elevated rights (8a) 2026-10-02 10:30:41 +02:00
hub.md Support cases through the API: create, read and close 2026-10-02 09:47:58 +02:00
installation.md Docs: Dynamics AX (1.4) 2026-10-02 13:54:36 +02:00
integration.md Docs: Dynamics AX (1.4) 2026-10-02 13:54:36 +02:00
konfiguration.md Availability groups: cluster node or witness down (D) 2026-10-02 10:56:43 +02:00
legacy-versions.md Rules the version does not support are "not applicable", not "not measurable" 2026-10-01 16:05:39 +02:00
opdatering.md Version 1.3.0 2026-10-02 13:22:43 +02:00
rapporter.md Separate "check by hand" from "not relevant" for version-gated rules 2026-10-02 09:59:50 +02:00
regler.md Long operations, full-text rules and statement activity 2026-10-02 09:07:29 +02:00
rettigheder.md Privilege audit: sysadmin and server roles with AD unfolding 2026-10-02 08:39:56 +02:00
servere-og-databaser.md Docs: Dynamics AX (1.4) 2026-10-02 13:54:36 +02:00
support.md Support cases through the API: create, read and close 2026-10-02 09:47:58 +02:00