Calculate Days Remaining

I have a field in a database “due-date” and another one “days-remaining”, I would like to auto calculate the days remaining base off of todays date on page load or once every 1 or 10 min while a user is using the app. I’m sure its an easy solution but can’t seem to figure it out.

create a dynamic expression starting with current date/time subtract the due date and then format as days

when using dates you can do math on them

This is a great video to watch > Working with Dates in your App

1 Like