Add duration functions to Utils