I have this log file which is recording the log in/ log out sessions by users to the network
[10:21:10] User logged in
[13:59:42] User logged out
[15:42:00] User logged in
[16:42:13] User logged out
[11:15:02] User logged in
[11:42:23] User logged out
I want to calculate the total time spent on line for all users together, the log file above is actually very long and this is just an example.
in this example it will be 5:06:06 hours