Calculate date fields, only if end date is captured... or....


1 comment

  • Rainer Grabowski


    this would show 0 days until a date is entered in the field Contract Acceptance:

    var first = moment(@First Inquiry);
    var acc = moment(@Contract Acceptance);
    acc != null ? acc.diff(first,"d") +1 : 0

    For a  "days so far" calculation that updates every new day you need an extra date field (in this app or in a related app) which is updated every day. How to do that I've described in some postings, e.g here 


    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk