docs: improve set current date wording
This commit is contained in:
@ -24,12 +24,14 @@ It means you can apply operations on existing variables:
|
|||||||
|
|
||||||
## Current Date
|
## Current Date
|
||||||
|
|
||||||
But also set the variable to the current date for example:
|
You can create a `Submitted at` (or any other name) variable using this code:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
new Date().toISOString()
|
new Date().toISOString()
|
||||||
```
|
```
|
||||||
|
|
||||||
|
It will set the variable to the current date and time.
|
||||||
|
|
||||||
## Random ID
|
## Random ID
|
||||||
|
|
||||||
Or a random ID:
|
Or a random ID:
|
||||||
|
Reference in New Issue
Block a user