src/main/java/com/genersoft/iot/vmp/gb28181/utils/DateUtil.java
@@ -6,8 +6,8 @@ import java.util.Locale; /** * @Description:时间工具类,主要处理ISO 8601格式转换 * @author: songww * @description:时间工具类,主要处理ISO 8601格式转换 * @author: swwheihei * @date: 2020年5月8日 下午3:24:42 */ public class DateUtil { @@ -46,7 +46,7 @@ Date date; try { date = format.parse(formatTime); Long timestamp=date.getTime(); Long timestamp=date.getTime()/1000; //转换为Date类 return timestamp; } catch (ParseException e) {