Syntax
utcNow('<format>'?)Examples
utcNow()'2026-10-23T14:05:00.1234567Z'
utcNow('yyyy-MM-dd')'2026-10-23'
Maker notes
- Always UTC. Use convertFromUtc() or convertTimeZone() to show local time.
Returns the current date and time in UTC, optionally formatted.
utcNow('<format>'?)utcNow()'2026-10-23T14:05:00.1234567Z'
utcNow('yyyy-MM-dd')'2026-10-23'