---
title: Date and Time
slug: date-and-time
docTags: 
createdAt: 2025-09-22T04:53:54.000Z
---

### DATE

**Description:&#x20;**&#x52;eturns the sequential serial number that represents a particular date.

**Example:&#xA0;**

*DATE(year, month, day)*

### DATEDIFF

**Description:&#x20;**&#x52;eturns a formatted summary of difference between two dates.

**Example:&#xA0;**

*DATEDIFF(start\_date, end\_date)*

### DATETIMENOW

**Description:&#x20;**&#x52;eturns the current date and time in date/time format

**Example:&#xA0;**

*DATETIMENOW( )*

### DATEVALUE

**Description:&#x20;**&#x52;eturns the serial number of the date value.

**Example:&#xA0;**

*DATEVALUE(date\_text)*

### DAY

**Description:&#x20;**&#x52;eturns the day of the month.

**Example:&#xA0;**

*DAY(serial\_number)*

### DAYS360

**Description:&#x20;**&#x52;eturns the number of days between two dates using 360-day year.

**Example:&#xA0;**

*DAYS360(start\_date, end\_date, method)*

### HOUR

**Description:&#x20;**&#x52;eturns the hour from 0 to 23.

**Example:&#xA0;**

*HOUR(serial\_number)*

### MINUTE

**Description:&#x20;**&#x52;eturns the minute from 0 to 59.

**Example:&#xA0;**

*MINUTE(serial\_number)*

### MONTH

**Description:&#x20;**&#x52;eturns the month from 1 to 12.

**Example:&#xA0;**

*MONTH(serial\_number)*

### NETWORKDAYS

**Description:&#x20;**&#x43;alculates the number of whole work days between two given dates. This includes all weekdays from Monday to Friday, but excludes a supplied list of holidays

**Example:&#xA0;**

*NETWORKDAYS(start\_date, end\_date, \[holidays])*

### NETWORKDAYSWITHOFFSET

**Description:&#x20;**&#x43;alculates the number of whole work days between two given dates with a specified time offset relative to Coordinated Universal Time (UTC). This includes all weekdays from Monday to Friday, but excludes a supplied list of holidays. The offset and holidays arguments cannot be provided as field references.

**Example:&#xA0;**

*NETWORKDAYSWITHOFFSET(start\_date, end\_date, "-06*:0&#x30;*", "7/4/2025,12/25/2025,1/1/2026")*

### NOW

**Description:&#x20;**&#x52;eturns the current date and time.

**Example:&#xA0;**

*NOW( )*

### NOW

**Description:&#x20;**&#x52;eturns the current date and time.

**Example:&#xA0;**

*NOW( )*

### SECOND

**Description:&#x20;**&#x52;eturns the second from 0 to 59.

**Example:&#xA0;**

*SECOND(serial\_number)*

### TIME

**Description:&#x20;**&#x52;eturns serial number time.

**Example:&#xA0;**

*TIME(hour, minute, second)*

### TIMEVALUE

**Description:&#x20;**&#x52;eturns the serial number time from a string.

**Example:&#xA0;**

*TIMEVALUE(time\_text)*

### TODAY

**Description:&#x20;**&#x52;eturns the current date.

**Example:&#xA0;**

*TODAY( )*

### TOTALDAYS

**Description:&#x20;**&#x52;eturns the total number of days between two dates

**Example:&#xA0;**

*TOTALDAYS(start\_date, end\_date)*

### TOTALHOURS

**Description:&#x20;**&#x52;eturns the total number of hours between two dates

**Example:&#xA0;**

*TOTALHOURS(start\_date, end\_date)*

### TOTALMINUTES

**Description:&#x20;**&#x52;eturns the total number of minutes between two dates

**Example:&#xA0;**

*TOTALMINUTES(start\_date, end\_date)*

### WEEKDAY

**Description:&#x20;**&#x52;eturns the weekday from 1 to 7.

**Example:&#xA0;**

*WEEKDAY(serial\_number,return\_type)*

### YEAR

**Description:&#x20;**&#x52;eturns the year from 1900 to 9999.

**Example:&#xA0;**

*YEAR(serial\_number)*
