Formula for date calculation (delay)

Comments

2 comments

  • Brett Morrone

    Hi Eva,

    If you have two separate date fields you could use the @date received - @date due to give you a duration in days. Take a look at our calculations article in the link, you'll see there's a PDF attached to it which gives some examples of different calculations and a duration between two dates is one such example:

    https://help.podio.com/hc/en-us/articles/201019358-Calculations

    I hope this helps.

    //Brett – Podio

    0
    Comment actions Permalink
  • Hamid
    var d1 = moment(@date1);
    var d2 = moment(@date2);
    var D = d2.diff(d1, 'days')
    D
    1
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk