nowUtc
  • 30 Oct 2020
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

nowUtc

  • Dark
    Light
  • PDF

Article summary

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

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.


What's Next