oracle如何得到一个日期是星期几?

一个Date希望返回integer
2025-03-26 05:33:50
推荐回答(2个)
回答1:

select to_char(sysdate,'day') from dual;

回答2:

to_char(date,'day')