Date & time function

TODAY function

Returns today's date, updating automatically each day the workbook recalculates.

Available in All versions of Excel (Windows and Mac), Excel for Microsoft 365, Excel for the web

In every Excel versionWorks in Google Sheets

Syntax

TODAY()

This function takes no arguments.

Returns: Today's date as a serial number with no time part (midnight).

How TODAY works

TODAY returns the current date from your computer's clock. It is the heart of every "live" spreadsheet: invoices that turn overdue on their own, ages that tick over on birthdays, countdowns to a launch, and reports that always show the current month. Type =TODAY() — there are no arguments, but the brackets are required.

Because TODAY is volatile, the value is recalculated whenever the workbook calculates, so tomorrow the same cell will show tomorrow's date. That is perfect for live calculations but wrong for recording when something happened. To enter a fixed date that never changes press Ctrl+; instead.

TODAY returns the date at midnight (a whole number). Use NOW if you also need the current time.

Examples

1Today's date

A1fx=TODAY()
A
12026-12-02

Result: 2026-12-02

If today is 2 Dec 2026, the cell shows that date (cell formatted as yyyy-mm-dd). Tomorrow it will show 2026-12-03.

2Days until an invoice is due

C2fx=B2-TODAY()
ABC
1InvoiceDue dateDays left
2INV-51202026-12-3129

Result: 29

If today is 2 Dec 2026, 31 Dec − 2 Dec = 29 days. Format the result cell as General or Number, otherwise Excel may display it as a date.

3Flag overdue invoices

C2fx=IF(B2<TODAY(),"Overdue","Open")
ABC
1InvoiceDue dateStatus
2INV-50872026-11-28Overdue
3INV-51202026-12-31

Result: Overdue

If today is 2 Dec 2026, 28 Nov is in the past, so the invoice is overdue. Filled down, C3 shows "Open".

4Age in years

C2fx=DATEDIF(B2,TODAY(),"Y")
ABC
1EmployeeBirth dateAge
2T. Okafor1995-12-2030

Result: 30

If today is 2 Dec 2026, the 2026 birthday (20 Dec) has not happened yet, so the age is still 30. DATEDIF counts complete years.

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 17 KB

Common errors and how to fix them

ErrorWhy it happensFix
Date keeps changingTODAY is volatile and moves with the calendar.For a fixed entry date press Ctrl+; or paste the value.
Shows 46358 instead of a dateThe cell is formatted as General.Apply a date format.

Tips

  • In conditional formatting, a rule like =$B2<TODAY() highlights overdue rows automatically.
  • If a workbook is opened days later with manual calculation, press F9 to refresh TODAY.
  • Avoid TODAY in thousands of cells — reference one cell containing =TODAY() instead.

Questions

How do I stop TODAY from changing?

Copy the cell and use Paste Special > Values, or type the date with Ctrl+;. A formula will always update.

Why does subtracting TODAY show a date instead of a number of days?

Excel copied a date format into the result. Change the cell's format to General or Number.

Does TODAY include the current time?

No, it returns midnight of today's date. Use NOW for date and time.

Google Sheets

TODAY also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.

TODAY in other languages

In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.

LanguageFunction name
CzechDNES
DanishIDAG
DutchVANDAAG
FinnishTÄMÄ.PÄIVÄ
FrenchAUJOURDHUI
GermanHEUTE
HungarianMA
ItalianOGGI
Norwegian (Bokmål)IDAG
PolishDZIŚ
Portuguese (Brazil)HOJE
Portuguese (Portugal)HOJE
RussianСЕГОДНЯ
SpanishHOY
SwedishIDAG
TurkishBUGÜN

Recipes that use TODAY