DATE
Creates a date from day, month, and year components. For more information, refer to the Google Sheets documentation.DATEDIF
Finds the difference between two dates in specified units, such as days. For more information, refer to the Google Sheets documentation.DAY
Returns the day of the month from a date. For more information, refer to the Google Sheets documentation.DAYS
Finds the difference in days between two dates. Similar toDATEDIF.
For more information, refer to the Google Sheets documentation.
EOMONTH
Returns the date of the last day of a month from a date or datetime value. This function takes two arguments:date_value- The date from which to calculate the resultoffset_months- The number of months before (negative) or after (positive) thedate_valueto consider
HOUR
Returns the hour as a number from0 (12:00 A.M.) to 23 (11:00 P.M.).
For more examples, refer to the Google Sheets documentation.
MINUTE
Returns the minute as a number from0 to 59.
For more examples, refer to the Google Sheets documentation.
NETWORKDAYS
Returns the number of whole working days betweenstart_date and end_date. Weekend days are excluded. Note: While similar to Excel, Omni’s implementation of this function does not support the third holidays argument.
Date arguments used in this function must be specified using one of the following methods:
- The DATE function, for example:
DATE(2025, 1, 1) - As the result of another formula or function
- As cell references (
A1)
NOW
Returns the current date and time as a date-time value. To create a date without the current time, useTODAY.
For more information, refer to the Google Sheets documentation.
SECOND
Returns the second from as a number from 0 to 59. For more examples, refer to the Google Sheets documentation.TODAY
Returns the current date as a date value. Does not accept arguments. To create a date with the current time, useNOW.
For more examples, refer to the Google Sheets documentation.
WEEKDAY
Returns the day of the week as a number from1 to 7, where 1 is equal to Monday.
WEEKNUM
Returns a number representing the week of the year where the provided date falls. This function accepts two arguments:date- The date for which to calculate the week number. Must be a date, a function returning a date type, or a number.type- Optional. A number representing the day that a week starts on. Defaults to1(Sunday).