Round timestamps to the nearest second
Turn 7/4/2026 11:59:59.6 PM into 7/5/2026 12:00:00 AM. The date moves too.
What you'll make

The formula

| Number | Part | What it does | Result so far |
|---|---|---|---|
| 1 | A8 | The date and time, with tenths of a second. | 11/4/2026 2:30:15.6 PM |
| 2 | *86400 | Turns it into seconds. A day has 86,400. | 4002964215.6 |
| 3 | ROUND( … ,0) | Rounds to the nearest whole second. | 4002964216 |
| 4 | /86400 | Turns the seconds back into a date and time. | 11/4/2026 2:30:16 PM |
Read it from the inside out: ROUND works first, then /86400 makes it a date and time again.
=ROUND(A8*86400,0)/86400How 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 dates with times into the green column of the Template tab. The rounded times fill in by themselves.
- Move them into your letter. Copy the results. Then use Paste Special and choose Values.
Before you send
Close to midnight, rounding up moves to the next day. That's right, so keep the new date.
Microsoft's help: ROUND function
OTHER ROUTES YOU MIGHT LIKE

Round a timestamp to the nearest minute
7/4/2026 11:59:59 PM → 7/5/2026 12:00:00 AM
Get the template →
Round timestamps to a minute step
1/1/2027 7:15:30 AM, 10 minutes → 1/1/2027 7:20:00 AM
Get the template →
Round a timestamp up to the next step
7/4/2026 11:59:59 PM up to 15 minutes → 7/5/2026 12:00:00 AM
Get the template →
Show an appointment time as 1:05 PM
13:05:00 → 1:05 PM
Take this route →