No ratings

Code Fix: Day Difference operator in Smartforms returns incorrect results

Issue Description

When you have the Day Difference expression on 2 calendar dates, the day difference calculation is incorrect. For example, the day difference between 2020/12/21 and 2021/1/29 is showing 40 days when in fact it is 39 days.


The fix is available in:


  1. Ensure you have the correct K2 version and/or Cumulative update installed. See KB001893 to see what Fix Pack level you have installed.
  2. Download the latest Fix Pack using the links in the table above for the version you require.
  3. Install the Fix Pack to apply the fix.
  4. It is recommended to clear browser cache and refresh the page.
Labels: (1)
Version history
Last update:
Updated by: