Calendar arithmetic is non-linear. When 1:59 AM + 1 minute occurs during daylight saving spring-forward, the result is 3:00 AM, not 2:00 AM, as the hour is skipped. We introduce CivilTime-Bench, a benchmark for civil-time reasoning covering daylight saving transitions, non-hour offsets, date-line crossings, and ISO week boundaries. With 60,011 training and 10,500 evaluation examples under strict output-contract evaluation, we benchmark seven LLMs (six instruction-tuned models and Llama-3.1-8B base) and find: zero-shot exact match varies substantially across models, contract-aware prompting often improves format compliance but yields inconsistent accuracy gains, few-shot in-context learning provides model-dependent improvements, and fine-tuning achieves 74.6--86.6% EM on synthetic evaluation but only 36.6--45.2% on HumanTime-500 for models with valid results on both splits, highlighting substantial limitations in generalization. We release the benchmark and code.
Figures & tables
Figure 1: Contract-aware prompting can improve output formatting. Baseline (rose) vs. contract-aware (peach) outputs across civil-time categories. Contract restatement can improve format compliance but does not consistently improve exact-match accuracy, showing formatting = reasoning.
Benchmark
Eval. Size
Train Size
Task
DST/TZ
Format
TRAM
10 sets
–
Ordering, logic
✗
MC/text
Test-of-Time
1.4k
–
Temporal logic
✗
Synthetic
TimeDial
1.5k
–
Commonsense
✗
MC cloze
TORQUE
3.2k
–
Event ordering
✗
Span
COMPLEXTempQA
5.7k
–
Multi-hop QA
✗
Short text
Ours
10,500
60,011
Calendar arith.
✓
ISO-8601
Table 1: Comparison of temporal reasoning benchmarks. Evaluation sizes are reported separately from training sizes; TRAM is listed by the number of component datasets, and – denotes training sizes not reported here. Prior work focuses on ordering, logic, and commonsense, whereas our benchmark evaluates exact calendar arithmetic under civil-time rules, including DST skips, repeated and ambiguous times, non-hour offsets, the international date line, and ISO week-year calculations.
Condition
Contract
Fine-tuned
Baseline Zero-Shot
✗
✗
Contract-Aware Zero-Shot
✓
✗
ICL-2-shot
✓
✗
ICL-4-shot
✓
✗
ICL-8-shot
✓
✗
QLoRA Fine-Tuning
✓
✓
Table 2: Experimental conditions. Contract indicates explicit output-contract instructions in the prompt. All runs use temperature T=0 and deterministic decoding settings where supported.
Figure 2: Baseline zero-shot error rates by task type and model. The heatmaps show per-type error rates ( 100−EM , in percent) on SyntheticTimeBench (top) and HumanTime-500 (bottom), using the corrected evaluation results. Darker colors indicate higher error rates. Both panels display the same 10 task types; WEEKSTART is omitted from this visualization for comparability but remains included in the evaluation wherever available. Synthetic results use 10,000 items for open-source models and 1,000 for API models. LLaMA’s zero-shot failure reflects prompt echoing rather than an isolated calendrical reasoning failure.
Model
TRAM-M
TRAM-S
TimeDial
ToT
Gemini-2.5-Flash-Lite
95.2%
67.0%
92.9%
66.9%
GPT-5 Nano
89.4%
43.6%
85.9%
32.0%
Gemma-2-9B
40.2%
64.9%
86.1%
–
LLaMA-3.1-8B
50.0%
61.6%
40.7%
5.5%
Phi-4-14B
50.6%
29.3%
89.4%
27.4%
Mistral-0.3v-7B
40.4%
5.7%
54.4%
9.0%
Table 3: Performance on prior temporal reasoning benchmarks. Performance varies substantially across models and task formats, highlighting persistent difficulties with temporal reasoning and multi-step arithmetic. TRAM-M and TRAM-S denote the multiple-choice and short-answer settings, respectively.
Model
SyntheticTimeBench (10k / 1k) †
HumanTime-500
EM ( ↑ )
FormatOK ( ↑ )
Δ EM
EM ( ↑ )
FormatOK ( ↑ )
Δ EM
ZS
CA
ZS
CA
CA − ZS
ZS
CA
ZS
CA
CA − ZS
Gemma-2-9B
17.8
26.8 ∗∗∗
51.3
96.4
+9.0
12.0
30.2 ∗∗∗
56.8
100.0
+18.2
Gemini-2.5-Flash-Lite †
57.3
50.4 ∗∗∗
95.0
86.4
− 6.9
57.8
63.0 ∗
96.8
99.4
+5.2
GPT-5-nano †
76.9
78.0
100.0
99.6
+1.1
73.2
73.0
95.6
95.0
− 0.2
LLaMA-3.1-8B ‡
0.0
31.8 ∗∗∗
0.0
97.6
+31.8
0.0
28.8 ∗∗∗
0.0
99.6
+28.8
Table 4: Contracts improve formatting but not reasoning. Values are percentages. Stars on CA EM are unadjusted paired McNemar tests versus that model’s own ZS baseline: ∗p<0.05 , ∗∗p<0.01 , ∗∗∗p<0.001 . † GPT/Gemini synthetic scores use the 1,000-item subset; open models use 10,000 items. HumanTime-500 uses 500 items for all models. ‡ LLaMA zero-shot is a generation failure (prompt echo), not a calendrical result. FormatOK often rises under contract-aware prompting, but exact-match changes are model-dependent and can be negative. ZS and CA denote baseline zero-shot and contract-aware zero-shot, respectively.
Model
2-Shot
4-Shot
8-Shot
EM
FO
EM
FO
EM
FO
Gemini-2.5-Flash-Lite †
71.2 ∗∗∗
95.6
66.6 ∗∗∗
91.2
63.6 ∗
82.4
Gemma-2-9B
36.8 ∗∗∗
100.0
38.8 ∗∗∗
100.0
41.4 ∗∗∗
100.0
GPT-5-nano †
76.6
91.8
74.0
88.8
67.8 ∗
80.4
LLaMA-3.1-8B
36.8 ∗∗∗
100.0
39.6 ∗∗∗
99.8
42.2 ∗∗∗
100.0
Mistral-7B
33.8 ∗∗∗
99.6
36.0 ∗∗∗
99.4
35.8 ∗∗∗
100.0
Table 5: In-context learning helps, but gains are model-dependent. Exact match (EM) and FormatOK (FO) on HumanTime-500 for k -shot ( k∈{2,4,8} ) type-matched ICL. Values are percentages. Stars on EM are unadjusted paired McNemar tests versus that model’s own zero-shot baseline: ∗p<0.05 , ∗∗p<0.01 , ∗∗∗p<0.001 . † GPT/Gemini few-shot runs have incomplete coverage ( n=478/456/412 for 2/4/8-shot); missing predictions are counted as incorrect against the full 500-item gold split. Several open models continue to improve at 8-shot, while GPT and Gemini decline as k increases.
Figure 3: Macro-averaged exact match across prompting strategies on HumanTime-500. Results for the seven evaluated models under baseline zero-shot, contract-aware zero-shot (refinement), and 2/4/8-shot in-context learning. Each cell reports the unweighted mean of per-task-type EM scores ( macro_em ), rather than the instance-weighted overall EM reported in Tables 4 and 5 . Performance gains are model-dependent and are not consistently monotonic with additional exemplars. LLaMA’s zero-shot result reflects a prompt-echo generation failure.
Model
SyntheticTimeBench (10k)
HumanTime-500
FT EM
Δ EM
FT EM
Δ EM
Gemma-2-9B
74.6 ∗∗∗
+56.8
—
—
LLaMA-3.1-8B
86.6 ∗∗∗
+86.6
39.6 ∗∗∗
+39.6
Mistral-7B
81.4 ∗∗∗
+62.4
45.2 ∗∗∗
+28.2
Phi-4-14B
74.6 ∗∗∗
+33.8
36.6 ∗∗
+8.6
Table 6: Fine-tuning substantially improves exact match over zero-shot prompting. Values are percentages. FT EM is fine-tuned exact match; Δ EM is FT minus that model’s Table 4 zero-shot EM. Stars on FT EM are unadjusted paired McNemar tests versus that model’s own zero-shot predictions: ∗p<0.05 , ∗∗p<0.01 , ∗∗∗p<0.001 . Gemma’s HumanTime-500 fine-tuning dump is invalid and is omitted. Missing predictions are counted as incorrect against the full gold split (Gemma/Mistral synthetic coverage is 8,532/10,000; Mistral HumanTime-500 coverage is 432/500). Qwen is omitted: its synthetic fine-tuning IDs do not match the gold split.
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 4: Type × year coverage in the training split. Distribution of generated examples across civil-time task types and calendar years in the 60,011-item training set. The visualization illustrates coverage of DST transitions, time-zone arithmetic, and International Date Line tasks.
Figure 5: Type × year coverage in the synthetic evaluation split. Distribution of examples across task types and calendar years in the 10,000-item evaluation set. Training and evaluation use the same generators but contain disjoint examples.
Figure 6: Task-type distribution in training and synthetic evaluation. Absolute instance counts per type for the 60,011-item training split and 10,000-item synthetic evaluation split. The figure illustrates the relative availability of examples across calendrical stressors.
Figure 7: Normalized task-type composition. Percentage of examples assigned to each task type in the training and synthetic evaluation splits. The comparison illustrates the similarity of their category distributions, consistent with their shared generation process.
Figure 8: Duration distribution in OFFSET . Distribution of selected minute increments in the training and synthetic evaluation splits. The duration buckets include 30- and 45-minute increments, complementing the benchmark’s coverage of time zones with non-hour UTC offsets.
Figure 9: Shuffling diagnostic: training vs. evaluation. Empirical cumulative distributions of shuffled-index surrogates for the two splits. This diagnostic characterizes the generated ordering but does not independently establish the absence of all sampling biases or template overlap.
Figure 10: Per-category zero-shot exact-match accuracy with 95% Wilson confidence intervals on HumanTime-500. Results for all seven evaluated models across the 11 civil-time task types. Points show per-category EM, and error bars show Wilson score intervals computed from the number of correct predictions and the number of evaluation items in each category ( n=25 – 60 ). The smaller ISO_WEEK and WEEKSTART categories each contain 25 items. LLaMA-3.1-8B’s zero-shot results reflect a prompt-echo generation failure and should not be interpreted as an isolated measure of calendrical reasoning ability.
Figure 11: Contract-aware zero-shot performance by task type on SyntheticTimeBench. Per-category Exact Match (EM) for Gemma-2-9B, Mistral-7B, and Qwen-2.5-7B-Instruct on the 10,000-item synthetic evaluation split. Colored bars show EM with 95% Wilson confidence intervals; gray backgrounds indicate the mean extracted-answer FormatOK across the three models. Vertical reference lines indicate overall instance-weighted EM (26.8%, 16.2%, and 8.4%, respectively). Category sample sizes are shown alongside task labels. All 10 task types present in the full synthetic split are included; WEEKSTART is absent. Results use the corrected scoring protocol and the contract-aware zero-shot condition.
Risk
Likelihood
Impact
Primary Mitigations
Automation without oversight
Medium
High
Human review, domain-specific validation, fail-closed defaults, and tests covering jurisdictional edge cases.
Compliance claims
Low–Medium
High
Independent legal review, authoritative calendrical sources, and traceable provenance for temporal rules.
Security or forensic misinterpretation
Low
High
Independent timestamp verification, synchronized clock sources, and immutable audit logs.
Misinformation
Medium
Medium
Timestamped source verification, uncertainty communication, and temporal factual-consistency checks.
Proxy discrimination
Low–Medium
Medium
Fairness audits, documentation of regional coverage, and avoidance of sensitive-attribute inference.
Appendix
Table A1: Qualitative risk matrix for downstream use. Illustrative likelihood and impact assessments for potential harms arising from incorrect civil-time reasoning, together with recommended mitigations. Ratings are not derived from measured deployment frequencies and may differ substantially across application domains.
Language Technology Lab, University of Cambridge, UK · Valencian Research Institute for Artificial Intelligence (VRAIN) Universitat Politècnica de València, Spain · Leverhulme Centre for the Future of Intelligence, University of Cambridge, UK
Department of Computer Science, Princeton University · Department of Operations Research and Financial Engineering, Princeton University · Department of Industrial Engineering and Operations Research, Columbia University +3