Hi there
want to set a value based on calculating 2 dates field, here is what I have
I want to check if the difference between 2 dates are more than 3 days then set a value to status field to error. something like this
Condition: !dateF1:[empty] AND !dateF2:[empty] AND ((([entry.dateF2.timestamp] - [entry.dateF1.timestamp])/86400000)>3)
Value to Set: status=error
Any insights is much appreciated
Hi
Consider using something like this
!dateF1:[empty] AND !dateF2:[empty] AND (dateF2.timestamp.subtract([entry.dateF1.timestamp]).divide(86400000):>3)
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.