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

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