Skip to main content
Nintex Community Menu Bar

Code Fix: The day difference expression is not returning the correct results

  • February 16, 2021
  • 0 replies
  • 5 views
  • Translate

Anelle
Nintex Employee
Forum|alt.badge.img+11
  • Nintex Employee
  • 13 replies
 

Code Fix: The day difference expression is not returning the correct results

KB002733

PRODUCT
K2 Five 5.1
K2 Five (5.1) Fix Pack 26

 

Issue Description

When populating calendar controls with the day difference expression, incorrect results return for certain dates. For example:

  • When the From date is set to 1/8/2018 and the To date is set to 1/2/2019 the result will incorrectly display as 181 days.

Cause

The date difference calculation did not handle the difference between February total days and other months.

Resolution

  1. Ensure you have K2 Five (5.1) installed.
  2. Download the K2 Five (5.1) FP26 from K2 Partner and Customer Portal.
  3. Install the K2 Five (5.1) FP26 to apply the fix.
  4. It is recommended to refresh the browser cache.

 

Did this topic help you find an answer to your question?

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings