select systimestamp,sysdate,
extract(year from systimestamp) year
,extract(month from systimestamp) month
,extract(day from systimestamp) day
,extract(hour from systimestamp)+8 hour(与国际时间相差8小时)
,extract(minute from systimestamp) minute
,extract(second from systimestamp) second
,extract(timezone_hour from systimestamp) th
,extract(timezone_minute from systimestamp) tm
,extract(timezone_region from systimestamp) tr
,extract(timezone_abbr from systimestamp) ta
from dual
oracle获取时间的年月日时分秒(北京时间为准,非国际时间)
最新推荐文章于 2024-09-30 11:14:41 发布