Due to one stored procedure our data has been deleted.This will execute daily.We have to find when the sp was executed 2 days back.When we executed below query we are getting latest execution time.If there is any other alternative please let us know.
select b.name, a.last_execution_time
from sys.dm_exec_procedure_stats a
inner join sys.objects b on a.object_id = b.object_id
where DB_NAME(a.database_ID) = 'db nama' and a.last_execution_time