This app records when you first opened social media and works in tandem with the other required Shortcut to block the user from overusing the selected social media apps.
It now records the close time down to the second for more accurate time tracking.
Download V4.00 of this Shortcut