PLAYGROUND (experimental)

now

now([format])

Return the current date/time as a string in Go format

Syntaxe

now("2006-01-02 15:04:05") // returns "2026-03-15 12:28:16"

Arguments

NameRequiredDefaultDescription
format--Go time format string