📅  最后修改于: 2022-03-11 15:04:57.361000             🧑  作者: Mango
SELECT trunc(sysdate) FROM dual; -- returns a DATE 01/12/2021 00:00:00
SELECT to_char(sysdate, 'DD/MM/YYYY') FROM dual; -- returns a string '01/12/2021'