How can I get the difference (in days) between two DATETIMES?

Certified Associate Developer

Hi All,

I am calling 2 values from my record type in the DATE and TIME format and I want it to produce the amount of days in between the dates.

Saw this suggestion in a previous post in regular date format: tointeger(tointervalds(today()) - tointervalds(today()) but did not work from the date due to not able to calculate different in seconds?

  Discussion posts and replies are publicly visible