website logo
Navigate through spaces
ChartHop documentation
⌘K
ChartHop Help Center
Getting around in ChartHop
ChartHop for Employees
Implementing ChartHop
ChartHop for Administrators
Carrot reference
ChartHop for Developers
Partners
Release notes
Resources
Docs powered by
Archbee
website logo
Carrot reference
...
Elements of Carrot expressions
Functions

day()

Returns the day of the month of a particular date.

Syntax

day(date)

  • date - the date to be evaluated.
  • Return type: Number

Sample usage

day('2020-05-12') returns 12.

Supported data types

Input type

Return type

Logic

Date

Date

If a Date is passed, the function will return the day of the month. Default is today.

Unsupported data types

Null

Unsupported data types return Null.



Updated 03 May 2023
Did this page help you?
PREVIOUS
date()
NEXT
daysOffBetween()
Docs powered by
Archbee
TABLE OF CONTENTS
Syntax
Sample usage
Supported data types
Docs powered by
Archbee