Skip to content

TODAY

Returns the current date, with no time of day. It is volatile: it recalculates every time the workbook does.

Syntax

=TODAY()

Date and time

All versions of Excel.

Try it

Edit the formula in B2 or change the inputs. The sheet recalculates as you type.

B2
A
B
C
1
Is today after 1-Jan-2024?
2
Check
TRUE
3

B2 =TODAY()>DATE(2024,1,1) returns TRUE

How TODAY works

TODAY returns today's date from your computer's clock. It takes no arguments, but the brackets are required: =TODAY(). The result is a whole-number serial date with no time part, so it is the right choice for age, due-date, overdue and countdown calculations that work in days. Use NOW when you also need the time.

Volatile: it changes without being edited

TODAY is a volatile function. Excel recalculates it every time the workbook recalculates, and again when you open the file. A cell showing today's date on Monday shows Tuesday's date when you open the file on Tuesday. That is what you want for a status column or an ageing report. It is not what you want for a record such as "date entered", because the value will keep moving. To stamp a fixed date, type it with Ctrl+; (semicolon), or use a copied value.

Volatility has a cost in very large workbooks, because every formula that depends on TODAY recalculates as well. For a handful of cells it makes no difference.

Everyday patterns

  • Overdue flag: =IF(TODAY()>B2,"Overdue","On time") compares today with the due date in B2.
  • Days until a deadline: =B2-TODAY(). A negative result means the deadline has passed.
  • Days since an event: =TODAY()-A2.
  • Age or tenure in years: =DATEDIF(A2,TODAY(),"y").
  • Current month start: =DATE(YEAR(TODAY()),MONTH(TODAY()),1).
  • Rolling 30-day window: use ">="&TODAY()-30 as a criterion in COUNTIFS or SUMIFS.

Testing and sharing workbooks

Because the answer depends on the day, a formula using TODAY can't be checked against a fixed expected value. The examples on this page test relationships instead: whether today is after a past date, or whether the result has no time part. To test a model that depends on today's date, put the date in an input cell, use that cell in place of TODAY() while testing, and switch back to =TODAY() when you finish. That also makes the workbook reproducible for a month-end report you need to rerun later.

Things TODAY doesn't do

TODAY follows the clock and time zone of the computer that opens the file, so two people in different time zones can see different dates around midnight. It also can't be frozen by turning off automatic recalculation reliably: Excel still refreshes it on open.

Arguments

Examples

Each example is a live sheet. Change the inputs or the formula and watch the result.

Example 1

Check that TODAY returns a current date

B2 =TODAY()>DATE(2024,1,1)

Result: TRUE

TODAY changes every day, so the page checks a relationship that stays true. Any date after 1 January 2024 passes.

B2
A
B
C
1
Is today after 1-Jan-2024?
2
Check
TRUE
3

B2 =TODAY()>DATE(2024,1,1) returns TRUE

Example 2

Overdue flag against a due date

C2 =IF(TODAY()>B2,"Overdue","On time")

Result: Overdue

INV-2001 fell due in 2020, so it is overdue whenever you open this page. Filled down to C3, the 2099 invoice returns "On time".

C2
A
B
C
1
Invoice
Due date
Status
2
INV-2001
31-Mar-2020
Overdue
3
INV-2002
31-Dec-2099
4

C2 =IF(TODAY()>B2,"Overdue","On time") returns Overdue

Example 3

TODAY has no time part

B2 =TODAY()=INT(TODAY())

Result: TRUE

INT removes any fraction. TODAY is already a whole number, so the test is TRUE. NOW would give FALSE except at exactly midnight.

B2
A
B
C
1
Whole number?
2
Check
TRUE
3

B2 =TODAY()=INT(TODAY()) returns TRUE

Example 4

Days since an event

B2 =TODAY()-A2>365

Result: TRUE

Subtracting two dates gives a number of days. The exact figure changes daily, so the example tests it against a threshold that will always be exceeded.

B2
A
B
C
1
Last audit
Overdue by 365+ days?
2
30-Jun-2020
TRUE
3

B2 =TODAY()-A2>365 returns TRUE

Your turn.

Solve it in the sheet. Every answer is checked, with hints if you need them.

Task 1 of 2

In C2, show TRUE if the due date in B2 has already passed, and FALSE if it has not. Fill it down to C3.

Answer in C2, then it fills down to C3.

C2
A
B
C
D
E
1
Task
Due date
Late?
Review date
Days ago
2
Safety check
29-May-2020
01-Sep-2021
3
Stock count
15-Jan-2099
4
5

Common mistakes

  • TODAY needs brackets. =TODAY without () returns #NAME?.
  • It recalculates every time the file opens, so it is the wrong tool for a date that must stay fixed, such as the date a record was created. Type the date with Ctrl+; instead.
  • The result is a date serial. If the cell shows 46000-something, apply a date format.
  • Comparing TODAY with a date-and-time value is easy to get wrong. =TODAY()=A2 is FALSE if A2 holds a time as well, because 46000.5 is not 46000. Compare with INT(A2).
  • Time zones follow the computer. Around midnight, a colleague in another time zone can see a different date.

Questions people ask

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

Press Ctrl+; (semicolon) in the cell. That types the current date as a fixed value. Or type `=TODAY()` and paste it back as a value. Don't leave `=TODAY()` in the cell if the date must stay.

Why does TODAY change when I open the file?

TODAY is volatile, so Excel recalculates it every time the workbook opens or recalculates. That is by design: the value always reflects the current date.

What is the difference between TODAY and NOW?

TODAY returns the date only, as a whole number. NOW returns the date and the time, as a number with a fraction. Use TODAY for day-based tests, and NOW only when the time of day matters.

How do I calculate days until a deadline?

Subtract today from the deadline: `=B2-TODAY()`. A positive number is days left, zero is today, and a negative number means the deadline has passed. Use NETWORKDAYS to count working days instead.

How do I calculate someone's age from a birth date?

Use `=DATEDIF(A2,TODAY(),"y")`. It counts completed years and updates each day. YEARFRAC gives a decimal age.

Learn TODAY in a real sheet.

Tracks take you from the basics to modelling, one graded exercise at a time.