DateTime Functions
DateTime Functions
Function
DATE(<year>, <month>, <day>)
DATEVALUE(date_text)
DAY(<date>)
EDATE(<start_date>, <months>)
EOMONTH(<start_date>, <months>)
HOUR(<datetime>)
MINUTE(<datetime>)
MONTH(<datetime>)
NOW()
SECOND(<time>)
TIME(hour, minute, second)
TIMEVALUE(time_text)
TODAY()
WEEKDAY(<date>, <return_type>)
WEEKNUM(<date>, <return_type>)
YEAR(<date>)
Returns the week number for the given date and year according to the specified convention. The week number indicat
week falls numerically within a year.
Returns the year of a date as a four digit integer in the range 1900-9999.
Calculates the fraction of the year represented by the number of whole days between two dates. Use the YEARFRAC
function to identify the proportion of a whole year's benefits or obligations to assign to a specific term.