深入学习ing

2020年2月19日

PostgreSQL将日期转为当前年、月、日的函数date_trunc

摘要: PostgreSQL将日期转为年、月、日的函数date_trunc: 当前年: select date_trunc('year',now()) 当前月: select date_trunc('month',now()) 当前日: select date_trunc('day',now()) 当前时: 阅读全文

posted @ 2020-02-19 19:49 深入学习ing 阅读(6790) 评论(0) 推荐(1) 编辑

导航