How to check OS Reboot & SQL Server Restart Time

OS Reboot Check
 
Execute any command in command prompt from below listings:
  1. net stats srv | find "Statistics since"  
  2. or  
  3. systeminfo | find "System Up Time"  
  4. or  
  5. systeminfo | find "System Boot Time"  
SQL Reboot Check
 
Execute any command in SSMS from below listings:
  1. sp_readerrorlog 0,1,'Copyright (c)'  
  2. or  
  3. SELECT sqlserver_start_time FROM sys.dm_os_sys_info;  
  4. or  
  5. SELECT login_time FROM sys.dm_exec_sessions WHERE session_id = 1;  
  6. or  
  7. select start_time from sys.traces where is_default = 1  
  8. or  
  9. SELECT create_date FROM sys.databases WHERE name = 'tempdb'  
Regards,
 
Yashwant Vishwakarma