This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided “as is” with no warranties.

Issue

The Add Days function doesn't work as expected when you use Current Date (January 31st) as a parameter.

Symptoms

Below are the Inputs of the "Add Days" function and the Outputs that you will get:
1/31/18 + 28 days > 2/28/18
1/31/18 + 29 days > 2/28/18
1/31/18 + 30 days > 2/28/18
1/31/18 + 31 days > 2/28/18
1/31/18 + 32 days > 3/1/18
If you use Current DateTime as the parameter for the Add Days function, it works as expected.

Resolution

This issue with the Add days function has been fixed in the K2 4.7 March 2018 Cumulative Update.