Skip to content

Date & Time

Built-in functions › Spreadsheet formulas › Date & Time

23 functions in this category.

FunctionWhat it does
dateConstruct a date serial number from year, month, day.
datedifDifference between two dates in a chosen unit.
datevalueParse a date string into a serial date number.
dayDay-of-month component of a date (1–31).
daysNumber of days between two dates.
days360Number of days between two dates using a 360-day year (30-day months).
edateDate offset by a number of months.
eomonthLast day of the month some months from the start date.
hourHour component of a time (0–23).
isoweeknumISO 8601 week of the year.
minuteMinute component of a time (0–59).
monthMonth component of a date (1–12).
networkdaysNumber of working days between two dates.
nowCurrent date and time as a serial date-time number.
secondSecond component of a time (0–59).
timeConstruct a time fraction from hour, minute, second.
timevalueParse a time string into a fraction of a day.
todayToday’s date as a serial date number.
weekdayDay of the week.
weeknumWeek of the year.
workdayDate a number of workdays after a given start.
yearYear component of a date.
yearfracFraction of a year between two dates.