Home »
Excel-Built-In-Functions »
Excel-Date-And-Time-Functions
Excel Date and Time Functions
This page lists the built-in Excel Date and Time Functions.
If you are not familiar with the way that Excel stores dates and times as numeric
values, you may find it useful to read the
Excel Dates and Times page,
before working with dates and times in Excel.
The functions listed below are grouped into categories, to help you to find the function
you need. Selecting a function name will take you to a full description of the function,
with examples and details of common errors.
Note that some of the Excel Date & Time functions are new to Excel 2010 or Excel 2013,
so are not available in earlier versions of Excel.
Excel Date and Time Functions List
DATE
|
Returns a date, from a user-supplied year, month and day
|
TIME
|
Returns a time, from a user-supplied hour, minute and second
|
DATEVALUE
|
Converts a text string showing a date, to an integer that represents the date in Excel's date-time code
|
TIMEVALUE
|
Converts a text string showing a time, to a decimal that represents the time in Excel
|
|
NOW
|
Returns the current date & time
|
TODAY
|
Returns today's date
|
|
HOUR
|
Returns the hour part of a user-supplied time
|
MINUTE
|
Returns the minute part of a user-supplied time
|
SECOND
|
Returns the seconds part of a user-supplied time
|
|
DAY
|
Returns the day (of the month) from a user-supplied date
|
MONTH
|
Returns the month from a user-supplied date
|
YEAR
|
Returns the year from a user-supplied date
|
WEEKNUM
|
Returns an integer representing the week number (from 1 to 53) of the year from a user-supplied date
|
ISOWEEKNUM
|
Returns the ISO week number of the year for a given date (New in Excel 2013)
|
WEEKDAY
|
Returns an integer representing the day of the week for a supplied date
|
|
|
EDATE
|
Returns a date that is the specified number of months before or after an initial
supplied start date
|
EOMONTH
|
Returns a date that is the last day of the month which is a specified number of months
before or after an initial supplied start date
|
WORKDAY
|
Returns a date that is a supplied number of working days (excluding weekends & holidays) ahead
of a given start date
|
WORKDAY.INTL
|
Returns a date that is a supplied number of working days (excluding weekends & holidays) ahead
of a given start date, using supplied parameters to specify weekend days
(New in Excel 2010)
|
DAYS
|
Calculates the number of days between 2 dates (New in Excel 2013)
|
DAYS360
|
Calculates the number of days between 2 dates, based on a 360-day year (12 x 30 months)
|
NETWORKDAYS
|
Returns the number of whole networkdays (excluding weekends & holidays), between two supplied dates
|
NETWORKDAYS.INTL
|
Returns the number of whole networkdays (excluding weekends & holidays), between two supplied
dates, using parameters to specify weekend days (New in Excel 2010)
|
YEARFRAC
|
Calculates the fraction of the year represented by the number of whole days between two dates
|
|
Further details of each of the Excel Date and Time functions are provided on the
Microsoft Office Website.