我想知道如何獲得00小時,00分鐘和00秒的日期。如何在午夜獲取日期
select to_char(sysdate, 'dd/MM/YYYY HH:mm:ss') from dual;
gives the date at the time I asked it
,如果我不給任何一小時:
select to_char(to_date('03/05/2017', 'DD/MM/YYYY'), 'DD/MM/YYYY HH:mm:ss') from dual;
我中午的日期。
我怎樣才能得到一個日期(用SYSDATE或讓我自己日期TO_DATE)00:00:00
謝謝