摘要: (1)当前时间,timestamp是时间戳类型。 select now() //2022-02-25 14:48:35 (2)当前日期,date是日期类型。 (3)to_char将时间类型转化指定格式的字符,text是无长度限制的字符类型。 (4)date_trunc(‘month’,current 阅读全文
posted @ 2023-03-17 09:31 最萌小胡胡 阅读(2278) 评论(0) 推荐(0) 编辑