# datetime functions

Build, read and do arithmetic on dates and times.

26 functions.

- [DATE](https://deepcalc.com/docs/functions/date.md): creates date from year, month, day
- [DATEDIF](https://deepcalc.com/docs/functions/datedif.md): calculates difference between two dates
- [DATEVALUE](https://deepcalc.com/docs/functions/datevalue.md): converts date text to serial number
- [DAY](https://deepcalc.com/docs/functions/day.md): returns day of month from date
- [DAYS](https://deepcalc.com/docs/functions/days.md): returns number of days between two dates
- [DAYS360](https://deepcalc.com/docs/functions/days360.md): returns days between dates on 360-day year
- [EDATE](https://deepcalc.com/docs/functions/edate.md): returns date shifted by given months
- [EOMONTH](https://deepcalc.com/docs/functions/eomonth.md): returns last day of month after offset
- [EPOCHTODATE](https://deepcalc.com/docs/functions/epochtodate.md): converts a unix timestamp to a date serial
- [HOUR](https://deepcalc.com/docs/functions/hour.md): returns hour component of a time
- [ISOWEEKNUM](https://deepcalc.com/docs/functions/isoweeknum.md): returns ISO week number of a date
- [MINUTE](https://deepcalc.com/docs/functions/minute.md): returns minute component of a time
- [MONTH](https://deepcalc.com/docs/functions/month.md): returns month component of a date
- [NETWORKDAYS](https://deepcalc.com/docs/functions/networkdays.md): returns business days between two dates
- [NETWORKDAYS.INTL](https://deepcalc.com/docs/functions/networkdays-intl.md): counts business days with custom weekend
- [NOW](https://deepcalc.com/docs/functions/now.md): returns current date and time
- [SECOND](https://deepcalc.com/docs/functions/second.md): returns second component of a time
- [TIME](https://deepcalc.com/docs/functions/time.md): creates time from hour, minute, second
- [TIMEVALUE](https://deepcalc.com/docs/functions/timevalue.md): converts time text to serial number
- [TODAY](https://deepcalc.com/docs/functions/today.md): returns current date
- [WEEKDAY](https://deepcalc.com/docs/functions/weekday.md): returns day of week as a number
- [WEEKNUM](https://deepcalc.com/docs/functions/weeknum.md): returns week number of a date
- [WORKDAY](https://deepcalc.com/docs/functions/workday.md): returns date after given business days
- [WORKDAY.INTL](https://deepcalc.com/docs/functions/workday-intl.md): adds business days with custom weekend
- [YEAR](https://deepcalc.com/docs/functions/year.md): returns year component of a date
- [YEARFRAC](https://deepcalc.com/docs/functions/yearfrac.md): returns fraction of year between dates

## navigate

- [function index](https://deepcalc.com/docs/functions.md)
- [error values](https://deepcalc.com/docs/errors.md) · [concepts](https://deepcalc.com/docs/concepts.md) · [limits](https://deepcalc.com/docs/limits.md)

source: https://deepcalc.com/docs/functions/datetime-functions