fbpx

Reply To: Include a function that returns the amount of days/weeks/months between dates

Forums Designer Feature requests Include a function that returns the amount of days/weeks/months between dates Reply To: Include a function that returns the amount of days/weeks/months between dates

    Helpful
    Up
    1
    Down
    Not Helpful
    triggre
    Keymaster

    Hello René,

    You probably know this already, but let me ask for if somebody stumbles across this post: do you know you can get the number of days between two dates already by subtracting two dates for each other? For example, 23/01/2020 – 20/01/2020 will give 3 days as a result.

    I personally find calculating with months much more interesting, because it has some nice edge cases (I love a good edge case 🙂 ) and different people might expect it to work slightly differently. Could you give some examples on what you would expect from such a function?