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