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

monthEnd()

Returns the last day of a given month.

Syntax

monthEnd([date])

  • date - (optional) the date from which to derive the last day of that date's month.
  • Return type: Date

Sample usage

monthEnd('2020-05-12') returns 2020-05-31.

Supported data types

Input type

Return type

Logic

Date

Date

The input date specifies the desired month. The month is then used to determine the final date in that month.

Unsupported data types

Null

Unsupported data types return Null.



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