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
| Name | Required | Default | Description |
|---|---|---|---|
format | - | - | Go time format string |
now([format])
Return the current date/time as a string in Go format
now("2006-01-02 15:04:05") // returns "2026-03-15 12:28:16"
| Name | Required | Default | Description |
|---|---|---|---|
format | - | - | Go time format string |