website logo
ChartHop documentation
Carrot reference
Release notes
Navigate through spaces
ChartHop documentation
Carrot reference
Release notes
⌘K
Getting started
Getting started with Carrot
Operator precedence
Filtering with Carrot
Data categories
Basic Org Information
Compensation
Job Changes
Permissions
Personal
Recruiting
Structure
Time off
Data types
Address
Boolean
Comp
Comp Band
Currency
Date
DateTime
DaysOff
Enum
EnumList
File
Group
Image
Job
List
Money
Name
Number
Null
Percent
Person
PersonList
Shares
StockGrant
String
TimeOff
User
Operators
+ (add)
- (subtract)
* (multiply)
/ (divide)
% (modulus)
&& (and)
|| (or)
if
: (match)
= (equals)
!= (not-equals)
! (not)
> (greater-than)
>= (greater-than-equals)
< (less-than)
<= (less-than-equals)
[ ](array)
. (dot)
? (ternary)
?: (elvis)
Functions
abs()
asOf()
boolean()
compHistory()
compBetween()
costBetween()
date()
day()
daysOffBetween()
diffYears()
diffMonths()
distance()
monthEnd()
formatMoney()
formatRound()
formatNumber()
formatPercent()
formatDate()
grantedShares()
length()
max()
mean()
money()
month()
min()
nextAnniversary()
number()
pluralize()
percent()
random()
round()
roundUp()
roundDown()
string()
subString()
stockPrice()
monthStart()
split()
vestValue()
vestShares()
year()
Aggregators
count{}
max{}
mean{}
min{}
sum{}
Docs powered by archbee 
1min

DaysOff

A Carrot datatype used by inbuilt fields that store information about days off.

The DaysOff datatype is not supported in Custom Fields/Forms. Supported uses for the DaysOff datatype are limited to the following inbuilt fields: daysOff, daysOffTaken, and daysOffUpcoming.

Properties

The DaysOff datatype supports the following properties:

Property

Definition

daysOff.all

Returns the total number of days off as a Number.

daysOff.sick

Returns the total number of sick days off as a Number.

daysOff.pto

Returns the Returns the total number of PTO days off as a Number.

Updated 17 Nov 2022
Did this page help you?
Yes
No
UP NEXT
Enum
Docs powered by archbee 
TABLE OF CONTENTS
Properties