format interval