Transferring Values to local Storage

Hi @mdsmith1, start with {{queryName.data}} and look at the object.

For example, with this specific query I have:

Because the name of the key is "@rdate:=CURDATE()", we have to include the whole string when keying into it. Then, the value is an Array so we have to access the first element in it:

Now we have it:


However, if you just need the current's date. You do not need localStorage or a query. Just create a State variable, and set the initial value to:

You can then reference this date from anywhere by doing: {{variableName.value}}.

Here is a cheatsheet for moment.js.
​