Clock Time Formatter
Convert any clock time between 12-hour, 24-hour, military, ISO 8601, spoken English, decimal, and Swatch Internet Time formats instantly.
About
Time representation varies across industries, countries, and protocols. Aviation and military operations use zero-padded 24-hour notation. Medical records require ISO 8601 (HH:MM:SS). Legal documents in the US default to 12-hour with AM/PM. Financial timestamps log Unix epoch seconds. Confusing 12:00 AM with 12:00 PM has caused missed medication doses, flight errors, and contractual disputes. This tool converts a single clock time input into 9 standardized formats simultaneously, including French Revolutionary decimal time and Swatch Internet Time (@beats). It applies exact arithmetic rather than locale-dependent library calls, so edge cases like midnight (00:00 vs 12:00 AM) and noon are handled correctly.
Limitation: spoken English output covers standard American English phrasing. Decimal and Swatch conversions assume the input represents a time-of-day within a single 24-hour period. The Unix timestamp is computed relative to today's date in your local timezone.
Formulas
The 12-hour to 24-hour conversion follows this piecewise rule:
Swatch Internet Time (@beats) is computed from Biel Mean Time (UTC+1):
where sBMT is seconds since midnight in UTC+1. The result is always in the range [0, 1000).
French Revolutionary decimal time maps the standard day:
where Stotal = h × 3600 + m × 60 + s is the total standard seconds since midnight. One decimal hour = 8640 standard seconds. One decimal minute = 86.4 standard seconds.
Reference Data
| Format | Example | Standard / Usage | Midnight | Noon |
|---|---|---|---|---|
| 12-Hour | 2:30:00 PM | US civil, Commonwealth casual | 12:00:00 AM | 12:00:00 PM |
| 24-Hour | 14:30:00 | ISO 8601, EU civil, rail | 00:00:00 | 12:00:00 |
| Military | 1430 | NATO, US/UK armed forces | 0000 | 1200 |
| ISO 8601 | T14:30:00 | Data interchange, APIs, logs | T00:00:00 | T12:00:00 |
| Spoken English | two thirty PM | Verbal communication, TTS | twelve o'clock AM | twelve o'clock PM |
| Unix Timestamp | 1718889000 | POSIX, databases, APIs | Varies by date | Varies by date |
| Decimal (French Rev.) | 6.0417 | French Republican Calendar | 0.0000 | 5.0000 |
| Swatch Internet Time | @646.53 | Swatch AG (BMT, UTC+1) | @0 (at UTC+1) | @500 |
| Total Seconds | 52200 | Programming, elapsed time | 0 | 43200 |
| Percentage of Day | 60.42% | Scheduling analytics | 0.00% | 50.00% |
| Decimal time divides the day into 10 hours of 100 minutes of 100 seconds each | ||||
| Swatch beats divide the day into 1000 beats from Biel Mean Time (UTC+1) | ||||