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

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