Skip to content

Lesson 63 of 92 · Free Excel Course

Excel · Excel function reference

Excel TODAY Function: Syntax, Examples and Common Errors

How the Excel TODAY function works: days until a deadline, overdue flags, age, TODAY()+30, Ctrl+; for a fixed date and why it changes. Free workbook.

The Excel TODAY function returns the current date. It doesn't need anything from you: type =TODAY() and the cell shows today's date, and tomorrow it shows tomorrow's. Underneath, the result is a date serial number (the count of days Excel uses for all date math; November 22, 2026 is 46348), which is why you can add to it and subtract from it. TODAY works in Excel for Microsoft 365 (Windows and Mac), Excel for the web, Excel 2024, 2021, 2019 and 2016. It's the formula behind "days left", "overdue" and "age today" columns.

Syntax

=TODAY()

TODAY has no arguments. The empty brackets are still required: they tell Excel this is a function. A few points to know:

  • It returns a serial number. If the cell was formatted as General, Excel switches it to a date format for you. To see the number, set the format to General or Number.
  • It is volatile. Microsoft lists TODAY among the volatile functions, which Excel recalculates every time it recalculates anything. It updates when you open the workbook, edit a cell or press F9, not continuously like a clock.
  • It has no time. TODAY is midnight at the start of the day. For the date and the time, use the NOW function.

Examples

In the grids below, today is Sunday, November 22, 2026. On your computer the results will reflect your date. The practice workbook keeps a fixed copy of that date in B1, so you can check your answers on any day.

1. Microsoft's examples. These are the formulas from Microsoft's TODAY page, with the results they give on November 22, 2026. (Microsoft's own screenshot dates from 2011, so its results differ.)

B4=DATEVALUE("1/1/2030")-TODAY()
ABC
1FormulaResultWhat it does
2=TODAY()11/22/2026Today's date
3=TODAY()+511/27/2026Today plus 5 days
4=DATEVALUE("1/1/2030")-TODAY()1136Days from today until 1/1/2030
5=DAY(TODAY())22Day of the month (1 to 31)
6=MONTH(TODAY())11Month of the year (1 to 12)
Column A shows each formula as text. B4 must be formatted as General or Number; as a date it would show a meaningless 1900s date.

2. Days until a deadline, with an overdue flag. Subtract today from the deadline. Then let IF turn the number into a status.

  1. In C5 type =B5-TODAY() and press Enter.
  2. If you see a date such as 1/23/1900, press Ctrl+1 (Command+1 on a Mac) and choose General.
  3. In D5 type =IF(B5<TODAY(),"Overdue",IF(B5=TODAY(),"Due today","Upcoming")).
  4. Copy C5:D5 down.
D6=IF(B6<TODAY(),"Overdue",IF(B6=TODAY(),"Due today","Upcoming"))
ABCD
4TaskDeadlineDays leftStatus
5Renew insurance12/15/202623Upcoming
6Send invoice11/10/2026-12Overdue
7Team review11/22/20260Due today
8File taxes4/15/2027144Upcoming
A negative number of days left means overdue. To shade the rows, use a conditional formatting rule such as =$B5<TODAY().

For working days instead of calendar days, use NETWORKDAYS. For the shading itself, see Conditional formatting.

3. Age in years. =DATEDIF(B11,TODAY(),"y") counts complete years from the birth date to today. Microsoft's TODAY page shows a quicker version, =YEAR(TODAY())-1963, but subtracting years ignores whether the birthday has happened yet:

C11=DATEDIF(B11,TODAY(),"y")
ABCDE
10NameBornDATEDIF "y"INT(YEARFRAC)YEAR minus YEAR
11Lena12/3/1985404041
12Omar2/29/2004222222
13Priya11/22/2000262526
Lena turns 41 on December 3, so YEAR minus YEAR is a year early. =INT(YEARFRAC(B13,TODAY(),1)) gives Priya 25 on her 26th birthday.

YEARFRAC returns the age as a fraction of years (Microsoft's "Calculate age" page lists it without a basis, which uses 30-day months). Microsoft only calls basis 1 "Actual/actual". When the dates span more than one year, it divides the days by the average length of every calendar year in the span (2000 to 2026 here, about 365.26 days), so on Priya's 26th birthday it returns about 25.998, and INT rounds that down to 25. DATEDIF gets every row right, which makes it the safer choice. (It's an older function, so Excel may not suggest it as you type, but it works.)

4. A date 30 days out, and the day name. =TODAY()+30 gives 12/22/2026, because adding a number to a date adds days. =TEXT(TODAY(),"dddd") gives Sunday. To add whole months instead, use =EDATE(TODAY(),1). Our free date calculator does the same sums without a formula.

Common errors

  • A number like 46348 instead of a date: the cell is formatted as General or Number. Press Ctrl+1 and choose Date.
  • A strange 1900 date instead of a day count: the opposite problem. A result like =B5-TODAY() picked up a date format. Set it to General.
  • #NAME?: the brackets are missing (=TODAY). Type =TODAY().
  • "Too many arguments" or a formula Excel won't accept: TODAY takes nothing inside the brackets. To use another date, type it in a cell or use DATE(2026,11,22).
  • The date changed after reopening the file: TODAY recalculated, as designed. For a record that must stay fixed, press Ctrl+; to type the date as a value (it works on Windows and Mac; in Excel for the web, type the date), or copy the formula cell and paste it back as values.
  • The date didn't change: calculation is on Manual. Choose Formulas > Calculation Options > Automatic, or press F9.
  • A slow workbook: thousands of TODAY formulas recalculate on every edit. Put =TODAY() in one cell, say B1, and point the other formulas at $B$1.
  • #NUM! from DATEDIF: the birth date is later than today, often a typo in the year. The start date must come first.

Related functions

Try it yourself

Download the practice workbook. It keeps today fixed at 11/22/2026 in B1, so you can work out days left, overdue flags, ages and dates 30 days out and check them against the Answers sheet. A live column then swaps in TODAY() so you can see the same formulas on your own date.

Frequently asked questions

How do I insert today's date in Excel so it doesn't change?

Press Ctrl+; (Ctrl and the semicolon key). That types today's date as a plain value that stays the same tomorrow. It works on Windows and Mac. =TODAY() is the opposite: it updates every time the workbook recalculates. In Excel for the web, type the date yourself.

Why does my TODAY formula show a different date when I reopen the file?

Because that's its job. TODAY is a volatile function: Excel works it out again every time the workbook recalculates, including when you open it, so a file saved on Monday shows Tuesday's date on Tuesday. For a date that must not move, such as an invoice date, use Ctrl+; or copy the cell and use Paste Values.

How do I calculate age from a date of birth with TODAY?

Use =DATEDIF(B2,TODAY(),"y") with the birth date in B2. The "y" unit counts complete years, so the age only goes up on the birthday. Avoid =YEAR(TODAY())-YEAR(B2): it adds a year too soon for anyone whose birthday hasn't come yet this year.

How do I count the days until a deadline in Excel?

Subtract: =B2-TODAY(), where B2 holds the deadline. Format the result as General or Number, not Date. A positive number is days left, 0 means it's due today, and a negative number means it's overdue by that many days.

Why is my TODAY formula not updating?

Calculation is probably set to Manual. Go to Formulas > Calculation Options and choose Automatic (on Windows also File > Options > Formulas). Press F9 to recalculate straight away.