Formats a duration or interval. The supported output formats include:
human+ or human (suitable for human-friendly display)millisecond(s), second(s), minute(s), hour(s), year(s), month(s), week(s), day(s) (or their abbreviations).Parameters:
'second' or 'human+').'milliseconds' or 's').The output result is displayed as the corresponding duration or interval based on the input value and unit conversion.