Skip to content

Commit a31db1c

Browse files
committed
variables: Document new %{time:timestamp} variable
1 parent a513675 commit a31db1c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎docs/core/settings/variables.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ Global providers that work everywhere are:
154154
| `process:<name>` | Get a process variable, see [below](#process-variables) for list of supported names. |
155155
| `system:<name>` | Get a system variable, see [below](#system-variables) for list of supported names. |
156156
| `time:<name>` | Get a time field, available keys are `hour`, `min`, `minute`, `sec`, `second` and `usec`. |
157+
| `time:timestamp:<name>` | Get current time as an epoch timestamp. Precision controlled via a key parameter: `:s` (seconds), `:ms` (milliseconds), `:us` (microseconds), `:ns` (nanoseconds). Defaults to seconds. |
157158
| `generate:<name>` | Generate a GUID/UUID. Available keys are `guid`, `guid128`, `uuid`, `uuid:record`, `uuid:compact` and `uuid:microsoft`. |
158159

159160
## System Variables

0 commit comments

Comments
 (0)