Skip to content
SheetFluent

Date functions: DATE, DATEDIF and EOMONTH

A spreadsheet stores a date as a number that counts days: March 15, 2026 is 46096. That's why you can subtract one date from another and get the days between them.

This topic builds dates with DATE, counts days and whole years between them with DAYS and DATEDIF, finds month ends and due dates with EOMONTH and EDATE, counts workdays with NETWORKDAYS, and shows dates as text with TEXT.

Start practicing

Lessons in this topic

  1. 1
    Dates are numbers: DATE, YEAR, MONTH and DAY

    See why a date is a number in Excel and Google Sheets, build one with DATE, take it apart with YEAR, MONTH and DAY, and add days to it.

    PlusAbout 5 minutes
  2. 2
    Today's date with TODAY and NOW

    Use TODAY and NOW in Excel and Google Sheets for a date that updates by itself: days until a due date, and which invoices are overdue.

    PlusAbout 5 minutes
  3. 3
    Days and years between dates: DAYS and DATEDIF

    Count the days between two dates with DAYS, and whole years or months with DATEDIF, for delivery times, length of service and age.

    PlusAbout 6 minutes
  4. 4
    Month ends and due dates: EOMONTH and EDATE

    Find the last day of a month with EOMONTH and the same day months later with EDATE, for invoice due dates, renewals and warranties.

    PlusAbout 5 minutes
  5. 5
    Count workdays with NETWORKDAYS and WEEKDAY

    Count the workdays in a project with NETWORKDAYS, leave out holidays, and use WEEKDAY to spot deliveries booked on a weekend.

    PlusAbout 6 minutes
  6. 6
    Write dates as text with TEXT

    Use TEXT in Excel and Google Sheets to show a date as a weekday, a month label or a full date inside a sentence, instead of a bare number.

    PlusAbout 5 minutes
  7. 7
    Practice: dates

    Mixed date practice on a new-hire list: probation ends, years of service, first payday and workdays so far. Pick the right date function for each.

    PlusAbout 6 minutes

Next topic: Lists that spill