Date & Time Functions
20 functionsDate calculations, time formatting, and duration tracking
DATE
Assembles a date from year, month, and day values.
DATEDIF
Returns the difference between two dates in years, months, or days.
DAY
DAY returns the day number (1-31) from a date.
DAYS
Counts the days from start_date to end_date.
EDATE
Shifts a date by a number of months.
EOMONTH
Returns the last day of the month offset by n months.
HOUR
Returns the hour portion (0-23) of a time value.
MINUTE
Returns the minute portion (0-59) of a time value.
MONTH
MONTH returns the month (1-12) from a date.
NETWORKDAYS
Counts workdays between two dates.
NETWORKDAYS.INTL
Counts workdays between two dates with a custom weekend.
NOW
NOW displays the current date and time, updating automatically.
SECOND
Returns the second portion (0-59) of a time value.
TIME
Converts hour, minute, and second into a time fraction of a day.
TODAY
TODAY displays today's date, updating automatically when the workbook opens or recalculates.
WEEKDAY
Returns the day-of-week number for a date.
WEEKNUM
Returns the week-of-year number for a date.
WORKDAY
Returns a date n workdays from a start date.
WORKDAY.INTL
Returns a date n workdays away with a custom weekend.
YEAR
YEAR returns the year component of a date.