How do I get End Time - Current Time in minutes

Hi, so Bubble saves dates and time as date time format. The current time is 6:00pm and end time as 8:00pm. I want to calculate the time difference in minutes as 120 as a number.

Depending on how you’re storing the end time, you should be able to calculate

end time - current time:format as minutes

to get the number of minutes between two date times

Hi there, @omer3012345… to expand a bit on what @grgrsmth said, you don’t have to worry about the times. Simply subtract the start date (or current date because you mentioned current time) from the end date (all of those dates include times, as you know) and format the result as minutes, and you should be good to go.