v$timer gives "Time in hundredths of a second"
How do you put it all together????
select to_char(startupdate.startupdate,'ddmmyyyy hh24:mi:ss')
startupdate_database
,nvl(trunc(sysdate)
- trunc(startupdate.startupdate),1) nr_days_running
from (select to_date(v1.value,'J') +
v2.value/(24*3600) startupdate
from
v$instance v1
,v$instance v2
where
v1.key like '%JULIAN%'
and v2.key like '%SECONDS%'
) startupdate
;