In my app there are courses that are available for certain period of time. I have a start date and an end date which is when the course becomes unavailable. I want to have a text element that displays for how many more days the course is available. How can I do that? I was thinking of something like substracting current date/time from course’s end date but I couldn’t figure out how to do that.
Hi there, @unstew… you should be able to do exactly what you said… subtract the current date/time (probably rounded down to date) from the course’s end date (again, probably rounded down to date), and format the result as days. Can you share a screenshot of what you tried?
Best…
Mike
Yeah you’re right, somehow I didn’t notice the +/- operators, thank you!
1 Like