摘要: 最近做一些统计相关的需求,用到了一些时间计算,总结一下。 1、获取时间戳 select extract(epoch from current_timestamp) 或 select date_part('epoch', current_timestamp),current_timestamp可以用n 阅读全文
posted @ 2021-04-15 13:52 钻牛角尖儿 阅读(2697) 评论(0) 推荐(0) 编辑