---
title: fiscalYearEnd()
slug: fiscalyearend
docTags: 
createdAt: 2026-02-09T14:47:07.870Z
---

Returns the last date of the fiscal year for a given date, based on your organization's configured fiscal year start month.

If no date is provided, the current context date is used.

### Syntax

`fiscalYearEnd(date)`

### Parameters

| **Parameter** | **Type**                                 | **Description**                                                              |
| ------------- | ---------------------------------------- | ---------------------------------------------------------------------------- |
| `date`        | **[Date](docId\:xTAQdzvLBTAKjxRnpFwe9)** | Optional. The date to calculate the fiscal year end from. Defaults to today. |

### Return Type

**[Date](docId\:xTAQdzvLBTAKjxRnpFwe9)**

The last day of the fiscal year that contains the given date.

### Examples

For an organization with a **default fiscal year** (starts in January):

`fiscalYearEnd('2025-05-12')`

- Returns `2025-12-31` because May 12, 2025 falls within the fiscal year ending December 31, 2025.

For an organization with a **fiscal year starting in February**:

`fiscalYearEnd('2025-03-15')`

- Returns `2026-01-31` because March 2025 falls within the fiscal year ending January 31, 2026.

`fiscalYearEnd('2025-01-15')`

- Returns `2025-01-31` because January 2025 falls within the fiscal year ending January 31, 2025.

### Related Carrot

- **[fiscalYearStart()](docId\:jpLzeg4Gb8l9ZHw1IITw6)** - Returns the start date of the fiscal year
- **[fiscalYear()](docId:4MBFWcNMkOYKGkTotswdb)** - Returns the fiscal year number
- **[fiscalQuarterEnd()](docId\:qJfKAw-X26wzRPkrkT2if)** - Returns the end date of the fiscal quarter
