Is there a way to round an interval to the nearest minute or do I needto create a function for this?