## 时间类
### 使用方法（按需引入）
```js
import { formatDate } from '@master_vantop/vantop-util';
formatDate;
```
### 方法列表
| 方法          | 说明                 | 返回值     |
| :------------ |:-------------------| :----------|
| [addDays(n, date)](/vantop-util/date-helper/addDays)   | 日期增加 | string |
| [formatDate(date,format)](/vantop-util/date-helper/formatDate) | 按format格式化时间   | string      |
| [calcDuration(ms)](/vantop-util/date-helper/calcDuration) | 计算毫秒的时长  | string    |
| [getTimeInterval(date)](/vantop-util/date-helper/getTimeInterval))  | 获取距现在的时间间隔| string |

