2022-09-13 16:14:56.373326000
一个上述类型的字符串如何通过java转换成带毫秒级的时间戳
直接getTime 不就是吗
用LocalDateTime封装获取即可
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.f");
Date date = simpleDateFormat.parse("2022-09-13 16:14:56.373326000");
long timeStemp = date.getTime();