Function getFriendlyInterval
- getFriendlyInterval(start?, end?, options?): number | string
Parameters
start: string | number | Date = 0
end: string | number | Date = 0
options: {
type?: string;
} = defaultGetFriendlyIntervalOptions
Returns number | string
取决于 type
EN: Get interval time.
ZH: 获取间隔时间。
Usage:
Output: