TODAY and date math in Excel: examples and practice

TODAY gives back the date of today, and Excel stores every date as a number of days. For example, =C2-B2 gives the number of days between the sent date and the due date.

Syntax

=TODAY()
=end_date - start_date
=date + days
TODAY()
No arguments. The brackets stay empty. The date changes every day when the file calculates.
date + days
Add a number to a date to move it forward. Subtract to move it back.
end_date - start_date
Subtract two dates to get the number of days between them.

Examples

Example data

ABC
1InvoiceSentDue
2INV-111/2/202612/2/2026
3INV-211/10/202612/24/2026
4INV-311/22/202612/22/2026
FormulaResultWhat it does
=TODAY()11/22/2026Gives the date of today. On November 22, 2026, it shows 11/22/2026. Tomorrow it shows a new date.
=C2-B230Due date minus sent date: INV-1 has 30 days to pay.
=B4+1412/6/2026Adds 14 days to the sent date of INV-3. Format the cell as a date to see a date.

Try it

In cell E3, calculate the days between the sent date and the due date of INV-2.

Show the solution

=C3-B3 → 44

Common mistakes

The wrong format on the result

=B4+14 can show 46362, and =C2-B2 can show 1/30/1900. The value is correct, only the format is wrong. Use Short Date for dates and General for days.

Dates stored as text

A date from another system can be text. Then =C2-B2 gives #VALUE!. Type the date again or use DATEVALUE.

TODAY in a report that must not change

TODAY changes every day. To keep the date, press Ctrl+;. It types the date of today as a fixed value. Ctrl+Shift+; (Mac: Cmd+;) types the time.

Wei Chen, owns Spark & Shine Cleaning

Practice this in a story

This lesson does not use TODAY. It practices the same date math with a fixed date in a cell, so the result stays the same every day.

Days until the deadline · Module 9 · Dates and Times · 4 min

Wei runs a cleaning company. He writes dates in three formats: 3/6, March 6th and 6.3. His crew is never sure which day he means. Now his jobs are in Excel. Each job has a deadline. Wei wants to know how many days are left.

Practice this in a story

More lessons with TODAY and date math

Related functions