Format a fixed Unix timestamp as a UTC date string.

Format Date

format_date.lua
local timestamp = 
local dateText = os.date("!%Y-%m-%d", timestamp)
print("timestamp=" .. timestamp)
print("dateText=" .. dateText)
local timestamp = 
local dateText = os.date("!%Y-%m-%d", timestamp)
print("timestamp=" .. timestamp)
print("dateText=" .. dateText)
local timestamp = 
local dateText = os.date("!%Y-%m-%d", timestamp)
print("timestamp=" .. timestamp)
print("dateText=" .. dateText)
fixed timestamp Use a known timestamp and the `!` UTC prefix so replay does not depend on the machine's local timezone.