Carrot reference
Functions

grantedShares()

Returns all of the shares that were granted between two specified dates.

Syntax

grantedShares(fromDate, untilDate[, filters])

  • fromDate - the date from which counting begins.
  • untilDate - the date at which counting ceases.
  • filters - optional modifiers.
  • Return type: Number

Sample usage

grantedShares('2000-01-01', '2020-03-02') returns the number of shares that were granted between 2000-01-01 and 2020-03-02.

Supported data types

Input type

Return type

Logic

Date (x2)

Number

The function will count the number of granted shares beginning with fromDate, and ending with untilDate.

Unsupported data types

Null

Unsupported data types return Null.



Updated 04 Oct 2023
Doc contributor
Did this page help you?