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 =TODAY()>DATE(2024,1,1) returns TRUE
Returns the current date, with no time of day. It is volatile: it recalculates every time the workbook does.
Syntax
=TODAY()
All versions of Excel.
Try it
Edit the formula in B2 or change the inputs. The sheet recalculates as you type.
B2 =TODAY()>DATE(2024,1,1) returns TRUE
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.
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.
=IF(TODAY()>B2,"Overdue","On time") compares today with the due date in B2.=B2-TODAY(). A negative result means the deadline has passed.=TODAY()-A2.=DATEDIF(A2,TODAY(),"y").=DATE(YEAR(TODAY()),MONTH(TODAY()),1).">="&TODAY()-30 as a criterion in COUNTIFS or SUMIFS.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.
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.
Each example is a live sheet. Change the inputs or the formula and watch the result.
Example 1
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 =TODAY()>DATE(2024,1,1) returns TRUE
Example 2
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 =IF(TODAY()>B2,"Overdue","On time") returns Overdue
Example 3
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 =TODAY()=INT(TODAY()) returns TRUE
Example 4
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 =TODAY()-A2>365 returns TRUE
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.
=TODAY without () returns #NAME?.=TODAY()=A2 is FALSE if A2 holds a time as well, because 46000.5 is not 46000. Compare with INT(A2).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.
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.
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.
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.
Use `=DATEDIF(A2,TODAY(),"y")`. It counts completed years and updates each day. YEARFRAC gives a decimal age.
Tracks take you from the basics to modelling, one graded exercise at a time.