diff --git a/apps/docs/docs/editor/blocks/logic/set-variable.md b/apps/docs/docs/editor/blocks/logic/set-variable.md index d2b9f18b8..cddea31e7 100644 --- a/apps/docs/docs/editor/blocks/logic/set-variable.md +++ b/apps/docs/docs/editor/blocks/logic/set-variable.md @@ -24,12 +24,14 @@ It means you can apply operations on existing variables: ## 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 new Date().toISOString() ``` +It will set the variable to the current date and time. + ## Random ID Or a random ID: