Unanswered question

context.variableManager.setValue rewriting date format? ...

We're pretty new to NL, using 7.3.

We can use JS to create a new random date, and that works, in the format example 12/15/2020.

But when we try to use that as a variable via:
context.variableManager.setValue()

It ends up formatted like this in our call:
December 15, 2020

Are we doing anything obviously wrong here? (I assume we are)

Thanks in advance!

Chris M.
Chris M.

Chris M.

Level
0
34 / 100
points

Answers

Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

I can provide date examples but what are you trying to achieve.

Chris M.
Chris M.

Chris M.

Level
0
34 / 100
points

Thanks, Neil. A coworker was trying to make a variable that was a random date between two known dates. I think he''s gotten it working since I posted the question yesterday.