strftime_utc
On this page
wakterm.strftime_utc(format)#
Formats the current UTC date/time into a string using the Rust chrono strftime syntax.
local wakterm = require 'wakterm'
local date_and_time = wakterm.strftime_utc '%Y-%m-%d %H:%M:%S'
wakterm.log_info(date_and_time)
See also strftime and wakterm.time.