随笔分类 -  时间格式

java,js
该文被密码保护。
posted @ 2020-09-07 18:14 Peter.Jones 阅读(0) 评论(0) 推荐(0) 编辑
摘要:MySQL查看时区 show variables like '%time_zone%'; 阅读全文
posted @ 2020-09-07 16:06 Peter.Jones 阅读(63) 评论(0) 推荐(0) 编辑
摘要:LocalDate必须有年,月,日三个内容 //LocalDate -> YearMonth -> String LocalDate localDate = LocalDate.now(); YearMonth yearMonth = YearMonth.of(localDate.getYear() 阅读全文
posted @ 2020-08-03 15:06 Peter.Jones 阅读(1696) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2020-02-28 10:05 Peter.Jones 阅读(0) 评论(0) 推荐(0) 编辑
摘要:LocalDate,LocalTime,LocalDateTime 接口api: https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html java8时间:LocalDate、LocalTime、LocalDateTime【 阅读全文
posted @ 2020-02-25 15:28 Peter.Jones 阅读(351) 评论(0) 推荐(0) 编辑
摘要:当前时间格式化 Date date = new Date(); SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ"); SimpleDateFormat df1 = new SimpleDateFormat( 阅读全文
posted @ 2020-01-16 10:55 Peter.Jones 阅读(467) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示