- 获取当前时间戳
select unix_timestamp()
1700155504
- 时间戳转日期
select from_unixtime(1700155504)
2023-11-17 01:25:04
- 时间戳转指定日期
select from_unixtime(1700155504, '%Y-%m-%d')
2023-11-17
select from_unixtime(1700155504, '%H:%i:%S')
01:25:04
select unix_timestamp()
1700155504
select from_unixtime(1700155504)
2023-11-17 01:25:04
select from_unixtime(1700155504, '%Y-%m-%d')
2023-11-17
select from_unixtime(1700155504, '%H:%i:%S')
01:25:04
发表时间:2022-09-09
发表时间:2022-08-09
发表时间:2022-05-05
发表时间:2022-04-04
发表时间:2021-12-30
发表时间:2021-12-29
必须了解的MySQL三大日志:bin log、redo log和undo log
发表时间:2021-12-19
发表时间:2021-12-19
发表时间:2021-11-30
携程apollo centos7本地部署运行、SpringBoot从apollo获取配置
发表时间:2021-11-02
java8 LocalDateTime获取某一天的起始时间戳范围
发表时间:2020-10-14
发表时间:2020-03-29