Count seconds between timestamps
Turn 11/4/2026 2:30:15 PM to 11/6/2026 4:00:15 PM into 178200 seconds, counting every day.
What you'll make

The formula

| Number | Part | What it does | Result so far |
|---|---|---|---|
| 1 | B8 | The end date and time. | 11/6/2026 4:00:15 PM |
| 2 | -A8 | Takes away the start date and time. | 2.0625 days |
| 3 | *86400 | Times 86400, the seconds in one day. | 178200 |
| 4 | ROUND( … ,0) | Rounds to the nearest whole second. | 178200 |
Excel counts time in days. The brackets work out the days between first, then times 86400 gives seconds.
=ROUND((B8-A8)*86400,0)How 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 dates and times. Paste start and end dates with times into the green columns of the Template tab. The seconds fill in by themselves.
- Move them into your letter. Copy the results. Then use Paste Special and choose Values.
Before you send
Use the same time zone for both cells, and put the earlier one in Start. Daylight saving changes aren't counted.
Microsoft's help: ROUND function
OTHER ROUTES YOU MIGHT LIKE

Calculate clock time across midnight
11:30 PM to 7:15 AM → 7:45
Get the template →
Count whole hours in a duration
49:30 → 49 whole hours
Get the template →
Calculate time shared by two intervals
2:30–5:30 PM and 4:30–7:30 PM → 1:00 shared
Get the template →
Show an appointment time as 1:05 PM
13:05:00 → 1:05 PM
Take this route →