timeUtc

Prev Next

Description

Type: DateTime

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


Examples

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

Remarks

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

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