User Activity

Is it possible for the time field in the database table to accept only minutes and seconds formatted as (mm: ss) ?
I want to use this filter (highlighted in red) that comes with the modal as a Preset Record viewport modal into my custom modal, but I don't know how to implement it.    
I want to know from which table does the workspace name read its value?
Helpfuls given to