---
title: Date
slug: date
docTags: 
createdAt: 2021-09-14T17:56:51.000Z
---

Represents an exact date (year, month, and day).

### Properties

| **Property** | **Type**                                | **Description**              | **Example** |
| ------------ | --------------------------------------- | ---------------------------- | ----------- |
| `year`       | [Number](docId\:ucI5tCTfVBhonEJ6ZQijg)  | The calendar year            | `1980`      |
| `month`      | [Number](docId\:ucI5tCTfVBhonEJ6ZQijg)  | The month of the year (1-12) | `5`         |
| `day`        | [Number](docId\:ucI5tCTfVBhonEJ6ZQijg)  | The day of the month (1-31)  | `12`        |

### Type Conversions

If the following types are used in place of a Date:

- [Timestamp](docId\:j1uFZtC3_yprDI3uCIn3u) - uses the date of the timestamp after converting to the org's timezone
- [String](docId\:Ujw2AQAktel5uukLuP73S) - parses the date, including supporting relative dates

### See also

[date()](docId\:grpUvYCy4WI6Wm7kUq4bv) - converts into a Date

[Relative Dates](docId\:LVlFv-1A-ePBySJQJ5FJC) - syntax for expressing relative dates
