Move a timestamp by seconds

Turn 12/31/2026 11:30:00 PM plus 1800 seconds into 1/1/2027 12:00:00 AM, the next day.

What you'll make

In Excel: 12/31/2026 11:30:00 PM + 1800 seconds becomes 1/1/2027 12:00:00 AM.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1A8The date and time.11/4/2026 2:30:15 PM
2+B8/86400Adds the seconds. A day has 86,400 seconds.11/4/2026 2:31:00 PM

Excel stores a day as 1. A minus sign before the seconds goes back in time, sometimes to the day before.

=A8+B8/86400

How to use it

Yellow bar at the top? Click Enable Editing.

  1. See it work. The Example tab shows 20 made-up examples with the formula already in.
  2. Use your own dates and times. Paste dates with times and seconds into the green columns of the Template tab. The new dates and times fill in by themselves.
  3. Move them into your letter. Copy the results. Then use Paste Special and choose Values.

Before you send

This formula doesn't know about time zones or daylight saving time. Adjust for those yourself.

Microsoft's help: TIME function