---
schema_version: "1"
id: 71b57949fa66d4e0a57d0eb4a140a5fb461f57d5af1b292d04089e701384a286
title: currentMilliseconds
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/dataweave/2.4/dw-timer-functions-currentmilliseconds.md
canonical_url: https://docs.mulesoft.com/dataweave/2.4/dw-timer-functions-currentmilliseconds
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 138cc54bd11fdd891fa3a5a37d14b5afd7cd719cbcee504801b38d405a603b56
description: MuleSoft Documentation Site
release: "2.4"
latest: false
---
---
product: DataWeave
version: 2.4
---

# currentMilliseconds

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

## currentMilliseconds(): Number

Returns the current time in milliseconds.

### Example

This example shows the time in milliseconds when the function executed.

#### Source

```Dataweave
%dw 2.0
import * from dw::util::Timer
output application/json
---
{ "currentMilliseconds" : currentMilliseconds() }
```

#### Output

```XML
{ "currentMilliseconds": 1532923168900 }
```
