I'm about to create a Workflow in SharePoint 2010 Designer. I created a Variable calling "DateToday". I set the variable in the Workflow and click on the button with the "..." on it and choose "Current date".
I now have another variable called "TodayMinus28". I want the current date, minus 28 days. How can I do this? I tried
[Today]-28
and
DateToday-28
but nothing seem to work. Both variables are initialized as Date/Time.
Can anybody help me?
Here's a screen of my workflow. "Heute" == "Today", "Wert" == "Value".
http://imageshack.us/a/img689/4048/workflow.jpg
Thanks in advance.
To set a DateTime field to [Today] + 5 days using a SharePoint Designer 2010 Workflow, this is what I did:
value: Workflow Context:Date and Time Last Run (As Double)
operation: plus
value: 432000 (number of seconds in 5 days or 60*60*24*5)
Output to: Variable: ETA Date