well in single instance database you can check startup time in v$instance

dont think shutfown is recorded anywhere else

if you want to record all that in a table write database evnets triggers for startup and shutdown