--- title: "Dynamic time window calculation examples" slug: "a3s-pg-appendix-dynamic-time-window-calculation-examples-4-0" updated: 2026-11-11T09:48:46Z published: 2026-11-11T09:48:46Z canonical: "docs.onespan.com/a3s-pg-appendix-dynamic-time-window-calculation-examples-4-0" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.onespan.com/llms.txt > Use this file to discover all available pages before exploring further. # Dynamic time window calculation examples This article provides two sample calculations for dynamic time windows. ## Example 1 Initial parameters - **Authenticator application time step**: 36 seconds - **Authenticator application usage**: Authentication (Password validation) - **Identification time window**: 10 Digipass time steps - **Synchronization time window**: 6 hours = 21600 seconds DTWAT DTWAT= ((Time step * (`ITimeWindow` -1)) / 8) = ((36 * (10-1)) / 8) = 40.5 days First authentication

A new user has not yet successfully authenticated:

Used time window= max (SyncWindow, ITimeWindow * time step)
= max (21600 seconds, 360 seconds) = 21600 seconds = 600 time steps
= +/- 300 time steps
Authentication before DTWAT The user authenticates within 40.5 days after the last successful verification:
Used time window= ITimeWindow * time step
= 10 time steps * 36 seconds
= 360 seconds
= +/- 5 time steps
Authentication after DTWAT The user authenticates between 40.5 days and 2695.5 days after the last successful verification.
Used time window= Time step + (Days lapsed * 8)
Table: Example 1: Dynamic time window calculation
40.5 Days Lapsed99 Days Lapsed365 Days Lapsed2695.5 Days Lapsed
Used time window calculation36 + (40.5 * 8)36 + (99 * 8)36 + (365 * 8)36 + (2695.5 * 8)
Used time window (seconds)360 s828 s2956 s21600 s
Used time window (time steps)102382600
## Example 2 Initial parameters - **Authenticator application time step**: 8 seconds - **Authenticator application usage**: Authentication (password validation) - **Identification time window**: 2 Digipass time steps - **Synchronization time window**: 1 hour= 3600 seconds DTWAT DTWAT= ((Time step * (`ITimeWindow` -1)) / 8) = ((8 * (2-1)) / 8) = 1 day First authentication A new user has not yet successfully authenticated:
Used time window= max (SyncWindow, ITimeWindow * time step)
= max (3600 seconds, 16 seconds)
= 3600 seconds = 450 time steps = +/- 225 time steps
Authentication before DTWAT The user authenticates within 1 day after the last successful verification:
Used time window= ITimeWindow * time step
= 2 time steps * 8 seconds
= 16 seconds = 2 time steps = +/- 1 time step
Authentication after DTWAT The user authenticates between 1 day and 449 days after the last successful verification:
Time window= Time step + (Days lapsed * 8)
Table: Example 2: Dynamic time window calculation
1 Day Lapsed7 Days Lapsed365 Days Lapsed449 Days Lapsed
Used time window calculation8 + (1 * 8)8 + (7 * 8)8 + (365 * 8)8 + (449 * 8)
Used time window (seconds)16 s64 s2928 s3600 s
Used time window (time steps)2 TS8 TS366 TS450 TS