时间转换成 刚刚,几分钟前 描述
- Source:
Example
timestampFormat(new Date().getTime()) => '刚刚'
Parameters:
| Name | Type | Description |
|---|---|---|
dateTimeStamp |
String | 时间戳 |
Returns:
刚刚, 2分钟前
- Type
- String