Calculating the difference of two dates in Monkey C

Former Member
Former Member

Hello everybody,

I try to calculate the difference of two dates in my app and didn't find a convenient way to manage this in Monkey C.

Can anybody help me? It would already be great to only calculate the difference between two dates like on this website possible:

https://www.timeanddate.com/date/durationresult.html?d1=2&m1=2&y1=2022&d2=3&m2=9&y2=2070

Additionally, it would be amazing if there is an easy way to include time differences like on this website:

https://www.timeanddate.com/date/durationresult.html?d1=2&m1=2&y1=2022&d2=3&m2=09&y2=2070&h1=13&i1=30&s1=30&h2=00&i2=00&s2=00

Thank you for your time and effort in reading (and maybe replying) to my question!