Glossary
activeDurationSeconds
The payload key in type 6 Windows Timeline activities that records how many seconds an application was in active use (focus) by the user.
activeDurationSeconds appears in the JSON payload of type 6 ("in use") activities in ActivitiesCache.db. It measures active engagement with an application, not the time the program was running.
Researchers note that it can differ from EndTime - StartTime, and that the first entry for a desktop app may have no duration (kacos2000). Rows are updated as sessions continue, so a newer value may exist only in the WAL. See does Windows Timeline prove execution or file access?