Read milliseconds since 1960
Turn a Stata datetime value like 2109421815000 into November 4, 2026 2:30:15 PM.
What you'll make

The formula

| Number | Part | What it does | Result so far |
|---|---|---|---|
| 1 | DATE(1960,1,1) | The day the count starts from. | January 1, 1960 |
| 2 | A8 | The milliseconds since then. | 2109421815000 |
| 3 | /86400000 | Turns milliseconds into days: 86,400,000 in a day. | November 4, 2026 2:30… |
Read it left to right. Excel adds the days to January 1, 1960, and keeps the time of day.
=DATE(1960,1,1)+A8/86400000How to use it
Yellow bar at the top? Click Enable Editing.
- See it work. The Example tab shows 20 made-up examples with the formula already in.
- Use your own numbers. Paste milliseconds like 2109421815000 into the green column of the Template tab. The dates and times fill in by themselves.
- Move them into your letter. Copy the results. Then use Paste Special and choose Values.
Before you send
Check your numbers are Stata %tc values counted from 1960. Unix milliseconds count from 1970 and come out 10 years early.
Microsoft's help: DATE function
OTHER ROUTES YOU MIGHT LIKE

Read seconds since 1582 as timestamps
Seconds since 1582 14013181815 → November 4, 2026 2:30:15 PM
Get the template →
Read network time with a known era
4002791415, era 0, 2147483648 → 11/4/2026 14:30:15.500
Get the template →
Read long Unix time codes kept as text
Unix microseconds 1793802615123456 → 11/4/2026 2:30:15.123 PM
Get the template →
Show an appointment time as 1:05 PM
13:05:00 → 1:05 PM
Take this route →