Skip to content

Commit

Permalink
+ Added dateTimeUtcNow to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
trueromanus committed Mar 30, 2024
1 parent e620a5a commit bb70af1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/globalvariables.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ header will be replaced on `bearer 4354534534534534534`.
`Control-R` - Remove selected line.
`Shift-Alt-R` - Remove all lines.

### Quickly insert global variables in the Query Editor
You can insert global variables in the Query Editor. To do this, you can place the cursor where you want, insert a global variable and press `Ctrl-0`.
After this, a pop-up window opens with all global variables. You can select the desired variable by pressing `Up` or `Down`, and press `Enter` to insert the variable or `Escape` to cancel operation.

### Predefined global variables
You can use predefined global variables to inject some stuff like date, time, etc.

Expand All @@ -32,6 +36,11 @@ You can use predefined global variables to inject some stuff like date, time, et
It will be replaced to the current date according to local time in ISO 8601 format.
Example: `2024-01-01T12:00:00`

#### `dateTimeUtcNow`

It will be replaced to the current date according to UTC in ISO 8601 format.
Example: `2024-01-01T12:00:00`

#### `time24HoursNow`

It will be replaced to current local time in 24 hours format.
Expand Down

0 comments on commit bb70af1

Please sign in to comment.