~~I’m trying to do a calculation based on the time elapsed since the last data point was recorded, something like ~~`now() - latestPoint._time`

in seconds. I haven’t been able to find anything that allows you to do something like this besides elapsed() which doesn’t seem to be able to do the exact thing I’m looking for.

I was able to figure out how to calculate the time difference (see first comment) but I still don’t know how to convert it to seconds.