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

# 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 }
```
