select trunc(sysdate)+0/24 from dual; --當天0點
select trunc(sysdate)+9/24 from dual; --當天早上9點(實際是加上了9小時)
select trunc(sysdate)+12/24 from dual; --當天中午12點
select trunc(sysdate)+14/24 from dual; --當天下午14點
select trunc(sysdate)+20/24 from dual; --當天晚上20點
轉載自: