String time = "1718967508591";
long time1 = Long.valueOf(time);
Timestamp ts = new Timestamp(time1);
Instant purposeEndTimeMax = ts.toInstant();
12-12
5735
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
06-07
1380
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
05-26