NOW GENERALLY AVAILABLE InfluxDB 3 Core (OSS) and Enterprise. Start fast, scale faster.
Welcome @yolovs to the InfluxDB forum.
Which version of InfluxDB are you using? If using InfluxDB Cloud v3, you can use SQL (if that is what you are comfortable with).
Here are some examples for calculating the elapsed time: