1
0
This commit is contained in:
2025-12-02 19:16:31 +08:00
parent 7a5099188e
commit 5dec90aa2a
2 changed files with 6 additions and 0 deletions

View File

@@ -8,3 +8,6 @@ select msg_time at time zone 'Asia/Shanghai' from msg where id = 1;
select msg_time at time zone 'UTC+8' from msg where id = 1;
select to_timestamp(1761850339) AT TIME ZONE 'Asia/Shanghai';
-- 将当前时间转换为Unix时间戳
select EXTRACT(EPOCH FROM current_timestamp(0)) - 60;