Getting a RelativeTime by comparing Time's


#1

Hey
I have two Time objects that I want to compare and produce a RelativeTime object from this.
Is there a built-in function to do this?
I can’t see one, but I thought I’d double check before I start writing my own.
Thanks.


#2

You just subtract them!


#3

Ah, so you can!
I didn’t spot this on the online docs.
Thanks!