--- title: "Discrete time window calculation example" slug: "a3s-pg-appendix-discrete-time-window-calculation-example-4-0" updated: 2026-11-11T09:48:46Z published: 2026-11-11T09:48:46Z canonical: "docs.onespan.com/a3s-pg-appendix-discrete-time-window-calculation-example-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. # Discrete time window calculation example Initial parameters - **Digipass time step**: 36 seconds - **Identification time window**: 10 Digipass time steps - **Discrete synchronization time window**: 3 hours (SyncWindow = 3 | SW_DISCRETE) Step 1: Mobile Authenticator Studio is correctly adjusted ![](https://cdn.document360.io/038f59a7-abd0-4c14-9de7-3434d28b49fd/Images/Documentation/Discrete_time_window_example_1.png?sv=2026-02-06&spr=https&st=2026-11-16T15%3A39%3A29Z&se=2026-11-16T16%3A39%3A29Z&sr=b&sp=r&sig=W6PAZD%2B1aI0vcZykjkrmL4mPWCwMMXQCqwLSGa3oSHA%3D) Figure: Discrete time window example – Step 1 An authentication request succeeds because: - The SyncWindow is configured to accept OTPs from GMT-1 to GMT+1 (`SyncWindow` = 3 | `SW_DISCRETE`). - The mobile phone drift is less than `ITimeWindow` x time step/2. The authentication request iterates on: - Discrete time window GMT+0 (iteration 1): OTP validated. Step 2: After the daylight savings adjustment, the mobile phone clock is set back one hour ![](https://cdn.document360.io/038f59a7-abd0-4c14-9de7-3434d28b49fd/Images/Documentation/Discrete_time_window_example_2.png?sv=2026-02-06&spr=https&st=2026-11-16T15%3A39%3A29Z&se=2026-11-16T16%3A39%3A29Z&sr=b&sp=r&sig=xWQBTTwafw8hURF4nZNeCHUEvVtgbERIC9imYOgjBL4%3D) Figure: Discrete time window example – Step 2 An authentication request succeeds because: - `SyncWindow` is configured to accept OTPs from GMT-1 to GMT+1 (`SyncWindow` = 3 | `SW_DISCRETE`). - The mobile phone drift is less than `ITimeWindow` x time step/2. The authentication request iterates on: - Discrete time window GMT+0 (iteration 1) - Discrete time window GMT-1 (iteration 2) - Discrete time window GMT+1 (iteration 3): OTP validated > After successful authentication at GMT+1, the `SyncWindow` stays centered around GMT+0. Step 3: The mobile phone is now set 2 hours later ![](https://cdn.document360.io/038f59a7-abd0-4c14-9de7-3434d28b49fd/Images/Documentation/Discrete_time_window_example_3.png?sv=2026-02-06&spr=https&st=2026-11-16T15%3A39%3A29Z&se=2026-11-16T16%3A39%3A29Z&sr=b&sp=r&sig=Q1IA03axvcjee72tsVW76XqoCP6u0%2BVFDlBZBWCImt4%3D) Figure: Discrete time window example – Step 1 An authentication request succeeds because: - `SyncWindow` is configured to accept OTPs from GMT-1 to GMT+1 (`SyncWindow` = 3 | `SW_DISCRETE`). - The mobile phone drift is less than `ITimeWindow` x time step/2. The authentication request iterates on: - Discrete time window GMT+1 (iteration 1) - Discrete time window GMT+0 (iteration 2) - Discrete time window GMT-1 (iteration 3): OTP validated > The first iteration starts at the previous time zone (here GMT+1).