Skip to content
Convert. Calculate.

Guide· Everyday numbers

How to read Unix time and military time

Unix time is a count of seconds since 1 January 1970 UTC. Military time is the 24-hour clock, where 3:45 PM is 1545. Both are easy to read once you know the rule.

Published · 4 min · By the Convert & Calculate team

Try it: Unix Time Converter

Open the full tool

Your details

Try an example

Convert

Result

Date and time (UTC)

2023-11-14 22:13:20

Tuesday 14 November 2023 · read as seconds

Seconds
1,700,000,000
Milliseconds
1,700,000,000,000
Weekday
Tuesday
Image

Good to know: Unix time = seconds since 00:00:00 UTC, 1 January 1970

How it was worked out · notes
  1. Unix time counts the seconds since 00:00:00 UTC on 1 January 1970, ignoring leap seconds.
  2. Seconds ÷ 86,400 gives days since 1970; the date follows from the calendar.
  3. Result: 2023-11-14 22:13:20 UTC
  • Timestamps are read as milliseconds above 100 billion and as microseconds above 100 trillion. Systems that store seconds in a signed 32-bit number run out on 19 January 2038 (timestamp 2,147,483,647).

The same moment in every form

All values describe one instant in time.

FormatValue
Seconds (Unix time)1,700,000,000
Milliseconds1,700,000,000,000
ISO 8601 (UTC)2023-11-14T22:13:20Z
UTC date and time2023-11-14 22:13:20
Local time (UTC+0)2023-11-14 22:13:20
Day of the weekTuesday
Day of the year318

Unix time: counting seconds

A Unix timestamp is the number of seconds since 00:00:00 UTC on 1 January 1970. Because it is a single number with no time zone, computers use it to store and compare moments.

  • 1,000,000,000 was 2001-09-09 01:46:40 UTC, a Sunday.
  • 1,700,000,000 was 2023-11-14 22:13:20 UTC, a Tuesday.
  • 946,684,800 was midnight UTC at the start of the year 2000.

Seconds or milliseconds?

Current timestamps have 10 digits in seconds and 13 in milliseconds. JavaScript and many web APIs use milliseconds, so 1,700,000,000,000 is the same moment as 1,700,000,000. If a date comes out in the year 55,000, you probably have milliseconds read as seconds.

The year 2038 problem

A signed 32-bit number runs out at 2,147,483,647 seconds, which is 03:14:07 UTC on 19 January 2038. Systems that store Unix time that way overflow then. Most modern systems use 64 bits, which lasts for billions of years.

Military time: the 24-hour clock

Military time writes the hour from 00 to 23 and the minutes as two digits, with no colon and no AM or PM. For times after noon, add 12 to the hour. Midnight is 0000 and noon is 1200.

From the 12-hour clock to military time
12-hourMilitarySaid
12:00 AM0000zero hundred hours
6:05 AM0605zero six zero five hours
12:00 PM1200twelve hundred hours
3:45 PM1545fifteen forty-five hours
9:30 PM2130twenty-one thirty hours
11:59 PM2359twenty-three fifty-nine hours

Zulu time

Zulu time is UTC, written with a Z after the time. To find it, subtract your UTC offset from your local time. At UTC−5, 3:45 PM local (1545) is 2045Z. Aviation, the military and weather services use it so that everyone shares one clock.

Use the military time converter to convert any time and see how it is spoken, and the time zone converter for meetings across cities.

Run your own numbers with the Unix Time Converter tool.

Related tools

Keep reading