cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Not applicable

how to calculate date with 2 days back. Please explain berifly

I know it can be achieved with calculate date action, but i m not getting proper configuration of this action.

Please provide some brief explanation for this. Thanks.

Mahi

Tags (1)
Reply
7 Replies
Highlighted
Nintex Newbie

Re: how to calculate date with 2 days back. Please explain berifly

Right, use Calculate Date .... configured like this :

Date =  Workflow context / Today

Days = -2 

Reply
Highlighted
Not applicable

Re: how to calculate date with 2 days back. Please explain berifly

Thanks Thomas, I tried this one but getting below error:

Workflow Status  [if IE 9]  [endif] 

Error calculating date. The added or subtracted value results in an un-representable DateTime.
Parameter name: value

Mahi

Reply
Highlighted
Nintex Newbie

Re: how to calculate date with 2 days back. Please explain berifly

Do you save your value in a DateTime variable ? (Date2DaysBack in my example)

Reply
Highlighted
Not applicable

Re: how to calculate date with 2 days back. Please explain berifly

Screenshot german nintex

Hi to all

I do have exactly the same problem with the same fault notice (except the language).

The variable are set correct "EndeFortschreibung_Datum" is a date-typ variable, the other one "EndeFortschreibung" is a text variable.

The fault notice is "Fehler bei der Berechnung des Datums. Der addierte oder subtrahierte Wert ergibt eine nicht darstellbare DateTime.
Parametername: value".

Which is exactly the same then posted above.

Anyone a idea how to fix this? Or may be how to configure a Workaround?

Thanks

0 Kudos
Reply
Highlighted
Automation Master
Automation Master

Re: how to calculate date with 2 days back. Please explain berifly

make sure lookup correctly identifies  a calendar item and returns valid value from date-type field.

I would suggest to make lookup before date calc action and store it to date variable. to proof check return value is what expected I would write it to history log.

Reply
Highlighted
Automation Master
Automation Master

Re: how to calculate date with 2 days back. Please explain berifly

Hey ‌ -- were you able to sort out your issue?

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: how to calculate date with 2 days back. Please explain berifly

Hello Guys

I am running Nintex2016 and this is the error I came across when implementing the Calculate Date + Paus Until...

Error in task. The added or subtracted value results in an un-representable DateTime.
Parameter name: value

the dateRequiredReminder is a variable set up as Date/Time.
the Required By is a date field showing Date only (without time) > Display Format: Standard

If I change the -7 to 7 does it not mean is a positive number meaning it will add 7 days on top?!

0 Kudos
Reply