How do I set a Variable Update Task to update "MyJobVar" to the current date and time? I tried DateTime.Today and the windows standard GetDate() in the Set value to:
How do I set a Variable Update Task to update "MyJobVar" to the current date and time? I tried DateTime.Today and the windows standard GetDate() in the Set value to:
You need to format the "Set value to" as:
%=DateTime.Now%
and be sure the "Expand variable tokens at runtime" box is checked.
Note that if you are using version 4.3.1 or earlier this may not work properly with some combinations of data types, due to a bug. If you have any hotfixes applied and you version is 4.3.0001.16167 or later, it should work correctly.
Replies are disabled for this topic.