---
schema_version: "1"
id: 6dc450c47f9583a0d9fcad7202d834b881d97897428ab5c4e274f009bdb29527
title: today
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/dataweave/latest/dw-dates-functions-today.md
canonical_url: https://docs.mulesoft.com/dataweave/latest/dw-dates-functions-today
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 7d81fdca1672157c85c7698c0602cfb305b8aa78f7d4d5444af511c94bdae6a8
description: MuleSoft Documentation Site
release: "2.13"
latest: true
---
---
product: DataWeave
version: 2.13
is-latest-version: true
---

# today

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

## today(): Date

Returns the date for today as a `Date` type.

_Introduced in DataWeave version 2.4.0._

### Example

This example shows the output of `today` function.

#### Source

```DataWeave
%dw 2.0
import * from dw::core::Dates
output application/json
---
today()
```

#### Output

```Json
"2021-05-15"
```
