Launch Time of an app

What is the best way to launch an app and calculate its launch time in android(if it can be done with some code,then its better)

Launch Time of an app