---
title: vestShares()
slug: vestshares
docTags: 
createdAt: 2021-09-14T17:49:40.000Z
---

Given a start date and end date, returns the number of shares that will vest over that period of time.

### Syntax

`vestShares(fromDate, untilDate)`

- `fromDate` - the first date in the range
- `untilDate` - the second date in the range
- **Return type:** [Money](docId:_kS5D2xbfoR9d8WfRIVnY)&#x20;

### Sample usage

`vestValue('2020-01-01', '2021-01-01')` returns the number of shares that will vest over the defined date range

### Supported data types

| **Input type**                            | **Return type**                         | **Logic**                                                                                      |
| ----------------------------------------- | --------------------------------------- | ---------------------------------------------------------------------------------------------- |
| ****[Date](docId\:xTAQdzvLBTAKjxRnpFwe9)  | [Money](docId:_kS5D2xbfoR9d8WfRIVnY)    | If two Dates are passed, the number of shares that will vest over that range will be returned. |
| *Unsupported data types*                  | **[Null](docId\:N9trVqonnBknqL9DrNBP6)  | Unsupported data types return `Null`.                                                          |

