Excel Formula Category

Date and Time Excel Formula Examples

Calculate due dates, ages, business days, month ends, week numbers, durations, and date-based reporting periods. Browse practical examples with syntax, cop

19 examplesCopy-paste formulasPlain English

💡 Ideas for You

Helpful learning resources for Date & Time formulas.

4 useful links
📚 Step-by-step booksBeginner-friendly learning resources from Create & Learn.📘 Date formula guidesResources for due dates, periods, schedules, and time calculations.🧮 Formula cheat sheetsQuick references for common spreadsheet formulas.📊 Reporting guidesResources for turning formula results into useful reports.

What this category helps you do

Date and time formulas are useful for schedules, invoices, project trackers, HR records, subscription reports, and monthly dashboards. They help convert calendar logic into repeatable calculations.

Date & Time formula examples

Choose a formula below. Each page explains the formula in plain English and gives examples one at a time so long formulas are easier to read and copy.

Formula

Convert Text Dates

converts dates stored as text into real Excel dates that can be sorted and calculated.

Open examples →
Formula

DATE

creates a real Excel date from separate year, month, and day numbers.

Open examples →
Formula

DATEDIF

calculates the difference between two dates in years, months, or days.

Open examples →
Formula

DAY

returns the day of the month from a date.

Open examples →
Formula

EDATE

returns a date a specific number of months before or after a start date.

Open examples →
Formula

EOMONTH

returns the last day of the month a set number of months before or after a date.

Open examples →
Formula

HOUR

returns the hour from a time value.

Open examples →
Formula

MINUTE

returns the minute from a time value.

Open examples →
Formula

MONTH

returns the month number from a date.

Open examples →
Formula

NETWORKDAYS

counts working days between two dates, excluding weekends and optional holidays.

Open examples →
Formula

NOW

returns the current date and time.

Open examples →
Formula

SECOND

returns the second from a time value.

Open examples →
Formula

TIME

creates a real Excel time value from hour, minute, and second numbers.

Open examples →
Formula

TODAY

returns the current date and updates when the workbook recalculates.

Open examples →
Formula

WEEKDAY

returns the day of week as a number.

Open examples →
Formula

WEEKNUM

returns the week number for a date.

Open examples →
Formula

WORKDAY

returns a date after a number of working days, excluding weekends and optional holidays.

Open examples →
Formula

YEAR

returns the year from a date.

Open examples →
Formula

YEARFRAC

returns the fraction of a year between two dates.

Open examples →

Best formulas to start with

How to learn this category

  1. Open one formula page and test the first beginner example.
  2. Change one cell reference at a time so you understand what each part controls.
  3. Check the common mistakes section before copying the formula down.
  4. Move to related formulas when you need a cleaner or more advanced version.