postgre——to_date使用

来源:互联网 发布:手机淘宝退款售后 删除 编辑:程序博客网 时间:2024/06/01 10:31

s_date=to_date(to_char(date_in,'yyyy-MM-dd'),'yyyy-MM-dd');

date_in为time类型,s_date为date类型

0 0