How to get the last used time stamp of recently used apps
<p>I want to know how much time (in hours or in days) has passed since the recent apps was last used. 
like I will get the recent 5 tasks from below code but how to get their last used time stamp.</p>

<pre><code>ActivityManager m = (ActivityManager)this.getSystemService(ACTIVITY_SERVICE);

RecentTaskInfo task = m.getRecentTasks(5,0).get(0);
</code></pre>
