nowUtc

Prev Next

tools.nowUtc

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);

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.