Utility to separate into parts and to format time duration in milliseconds