获取到秒的时间戳
Instant.now().getEpochSecond();//10
//毫秒级时间戳
System.currentTimeMillis()
posted on 2018-09-19 14:40 一碗白开水* 阅读(120) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 一碗白开水* Powered by .NET 8.0 on Kubernetes