Writing & StyleStyle guide

Leading Zeros in Times

A leading zero before the hour is format-dependent. Locale and interface conventions may show an hour with or without one, so writers should follow the selected 12-hour, 24-hour, locale, or technical format instead of imposing one universal rule.

Quick answer

Use or omit a leading zero according to the selected time format and locale; consistency within the same product or document matters more than a universal house rule.

Key details

Core Issuehour fields can appear with or without a leading zero depending on locale and format
Phrase Roletime field-width convention
Registerlocalized interfaces, technical displays, and professional writing

Important caveats

Consistency Boundary

A product or document should apply its chosen time convention consistently; technical formats may be stricter than prose.

Locale Boundary

Microsoft documents that hour values may display with or without a leading zero across locale formats.

Sources and evidence

Sources are shown with the role they play in this guide. Historical or style-sensitive claims are kept within the evidence boundary described above.

  1. Format dates and times (opens in a new tab)Microsoft Globalization · Locale-dependent date/time fields, including optional leading zeros in many human-facing formats

Explore the topic