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

    triggre
    Keymaster
    Up
    1
    Down

    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?

Get started for free and experience the power of the Triggre platform.

By signing up for your free account, you agree to receive e-mails from Triggre.

By using our site you agree to our use of cookies to deliver a better site experience.