Let (N = Get(CurrentDate); Year (N) &"-"& Right ( "0" & Month(N); 2 ) & "- text string" )
But it is often better to put the full date into one field and "text string" into another. A creation date can even be auto-entered into a date field without any scripting. Data formatting can then display the date in YYYY-MM format.
I have a question: how do you put a Let or Evaluate statement into script? I don't see either as an option.
Thanks in advance.
The Let Calc is, in this case, the calculation used to set the variable in the Set Variable script step.