now
Return the current date/time as a string in Go format
now(
[format]
)
Return the current date/time as a string in Go format
Syntaxe
now("2006-01-02 15:04:05") // returns "2026-06-17 13:24:12"
Arguments
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
format | - | - | Go time format string |