nowUtc

Prev Next

Description

Type: DateTime

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


Examples

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

Remarks

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

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