Excel Date & Time Functions Reference (2026)
Home›Functions›Date & Time
ExcelCategory Hub

Excel Date & Time Functions

Every Excel date and time function you'll actually use — grouped by what they do, with complete reference guides for each. Whether you need today's date, business-day math, or a fiscal-year age calculation, start here.

Current date & time

Return the moment right now — great for stamps, dashboards, and "days since" calculations.

Volatile

TODAY

Returns today's date. No arguments. Recalculates on file open and edits.

Volatile

NOW

Returns today's date and current time. Recalculates constantly — use with care.

Constructing dates

Build a date from separate year, month, and day inputs — essential for imports where dates arrive as text or split columns.

Constructor

DATE

Builds a date from year, month, day. Handles overflow — DATE(2026,13,1) becomes Jan 1, 2027.

Extracting parts of a date

Pull the year, month, day, or weekday out of a date. Also useful for grouping in PivotTables.

Extractor

YEAR, MONTH, DAY

Return the year, month, or day-of-month portion of a date. Basic but essential.

Extractor

WEEKDAY

Returns the day of the week as a number (1-7). Multiple counting systems (Sun-based, Mon-based).

Date math

Move dates forward or backward by days, months, or years. Compute differences between dates.

Interval

DATEDIF

Difference between two dates in years, months, or days. Legacy function — undocumented but works.

Shift

EDATE

Adds a whole number of months to a date. Great for lease renewals, subscription math.

Shift

EOMONTH

Returns the last day of a month N months away. Perfect for month-end reporting.

Business days & workdays

Skip weekends and holidays automatically. Essential for finance, project management, and SLA calculations.

Business

NETWORKDAYS

Counts working days between two dates. Optional holidays list. NETWORKDAYS.INTL for custom weekends.

Business

WORKDAY

Returns the date N working days after a start date. Skips weekends and holidays.

How dates work in Excel

Dates are just numbers

Excel stores dates as serial numbers. Day 1 is January 1, 1900. Today (Sep 6, 2026) is serial number 46,271. That's why you can do math on dates: =A1+30 adds 30 days.

Times are decimal fractions

Times are stored as fractions of a day. 12:00 PM = 0.5. 6:00 AM = 0.25. A full date-time like "Sep 6, 2026 6:00 AM" is stored as 46271.25.

The format vs. value distinction

Changing a date cell's number format doesn't change its underlying value — only how Excel displays it. =A1+1 still adds one day even if A1 looks like "Sep 6".

The 1900 leap year bug

Excel treats 1900 as a leap year (it wasn't). This is preserved for compatibility with old Lotus 1-2-3 files. Only matters for dates in Jan and Feb 1900 — irrelevant for almost everyone.

The Y2K text problem

Dates imported from external systems often arrive as text ("2026-09-06" as a string). Convert with =DATEVALUE(A1) or =--A1. Once numeric, Excel treats it as a real date.

Quick date checks

Not sure if a cell contains a real date or text that looks like one? Select it and check the alignment. Excel right-aligns numbers (including dates) by default. Left-aligned dates are usually text.

Which function should I use?

Match the task to the function:

You want to...Use this function
Insert today's dateTODAY()
Insert today's date and timeNOW()
Build a date from year/month/day columnsDATE()
Get the year from a dateYEAR()
Get the month numberMONTH()
Get day-of-week (1-7)WEEKDAY()
Calculate age in complete yearsDATEDIF() with "Y"
Add 6 months to a dateEDATE()
Get last day of the monthEOMONTH()
Count business days between datesNETWORKDAYS()
Ship date if starting today with 10 work daysWORKDAY()
Excel Wizard

Skip the date-function memorization

Date math in Excel is tricky — different functions for months vs. days, different weekday counting systems, and a legacy function (DATEDIF) that isn't even in the docs. Excel Wizard handles it: describe what you want ("age in years from birthday in column B") and it writes the correct formula.

Install Excel Wizard →