Copy as Markdown View as Markdown (opens in new tab) View on GitHub (opens in new tab) Open in... ChatGPT (opens in new tab) Claude (opens in new tab) Perplexity (opens in new tab) toMilliseconds toMilliseconds(date: DateTime): Number Returns the representation of a specified date-time in milliseconds. Parameters Name Description date A DateTime to evaluate. Example This example shows a date-time in milliseconds. Source %dw 2.0 import * from dw::util::Timer output application/json --- { "toMilliseconds" : toMilliseconds(|2018-07-23T22:03:04.829Z|) } Output { "toMilliseconds": 1532383384829 }