BlogScheduling & Ops
Deterministic Exam Scheduling Across IANA Timezones and DST Transitions
UTC Epoch Milliseconds + Canonical IANA Timezones
Storing all schedule boundaries as integer UTC epoch milliseconds paired with the schedule's IANA timezone identifier ensures that a 60-minute exam starting before a DST spring-forward transition still grants examinees a full 60 real minutes.
Presenting both the official Schedule IANA Timezone and the candidate's local browser timezone side-by-side eliminates cross-border attendance confusion.
On November 1, 2026, New York turns its clocks back one hour during this example exam window. Kolkata keeps the same offset throughout. The window lasts four hours in both places, even though New York's clock moves from 12:30 AM to 3:30 AM.
| Time zone | Opens | Closes |
|---|---|---|
| New York | 12:30 AM EDT | 3:30 AM EST |
| Kolkata | 10:00 AM IST | 2:00 PM IST |
deadline_at = starts_at_utc_ms + (duration_minutes + extra_time_minutes) * 60_000;Serialized BEGIN IMMEDIATE Capacity Enforcement
Two administrators each see one seat left for the same sitting and try to assign different candidates. TeachAI checks capacity again as it saves each assignment, so only the first one saved gets the seat.
| Administrator | Outcome | Next action |
|---|---|---|
| Amina assigns Sam | Saved. Sam gets the last seat. | Send Sam the exam invitation. |
| Dev assigns Lee | Blocked. The sitting is full. | Choose another sitting for Lee. |
Next reading
Designing High-Reliability MCQ Question Banks with Psychometric Item Analysis
Assessment Design2 min read
Zero Answer-Key Leakage and Monotonic Sequence Autosaves in Browser Exams
Security & Integrity2 min read