<{{Subtitle_Weight}} class="prominent-subhead {{Show_Subtitle}}"> {{Header_Subtitle}}

Add Days functionality broken

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.
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.


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


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.


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