---
title: day()
slug: day
docTags: 
createdAt: 2021-09-14T17:45:02.000Z
---

Returns the day of the month of a particular date.

### Syntax

`day(date)`

### Parameters

| **Parameter** | **Type**                               | **Description**                       |
| ------------- | -------------------------------------- | ------------------------------------- |
| `date`        | [Date](docId\:xTAQdzvLBTAKjxRnpFwe9)   | The date to get the day-of-month from |

### Return Type

[Number](docId\:ucI5tCTfVBhonEJ6ZQijg)&#x20;

The day of the month. For example, May 12th will return `12`

### Examples

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

- Returns `12`

