dateUtc

Prev Next

Description

Type: DateTime

Returns the current date in Coordinated Universal Time (UTC).


Examples

// display the current UTC date in the debugger
debug.log(tools.dateUtc);
JavaScript

Remarks

This is the current date in Coordinated Universal Time (UTC) format.

If you want the date measured in the user's local time instead, use tools.date.