website logo
Navigate through spaces
Carrot reference
⌘K
Carrot reference
Getting started with Carrot
Premade Carrot filters
Operator precedence
Expression truthiness
Carrot fields
Basic Org Information
Compensation
Job Changes
Permissions
Personal
Recruiting
Structure
Time off
Data types
Elements of Carrot expressions
Functions
Operators
Keywords
Aggregators
Docs powered by archbee 
website logo

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 01 Feb 2023
Did this page help you?
Yes
No
UP NEXT
daysOffBetween()
Docs powered by archbee