Hmm, ok lets talk about this a little further:
I have a variable called TestVar.
I use the SET variable task and I set the value to {DATENOWADD(Years|1|yyyyMMdd)}, without the checkbox checked, this is the result:
Variable 'TestVar' was updated to: {DATENOWADD(Years|1|yyyyMMdd)}If I check the box 'translate to constant' the output will be:
Variable 'TestVar' was updated to: 20140826So using the checkbox the value you set is parsed and the result is stored in the variable, otherwise the 'variable value' is stored (without parsing) in the variable.
😕 The misleading part here is when you retrieve the value both show: 20140826.
If you go into the variable window you can see the actual value stored in the variable. There you can see the difference.
If I retrieve the value next year, one will be 2015MMdd, depending on the date I retrieve it and the other still 20140826. This is becouse one is still using the dynamic datenowadd part, the other has 20140826 in there.
Original feature request Regards,
Erik
Edited by user
2013-08-26T12:56:33Z
|
Reason: Not specified
Uses Visualcron since 2006.