Hi,
Is there a way to find out the logout date for a user who has been logged in to the system for more than 1 day. For example, the below user as indicated by the "last" command had logged into the system on Mar 8 and he has been online for 2 days and 6:53 hour:min. So basically, he logged out from the system on Mar 10. Is there a way to calculate this in Perl? or any other command that gives the logout date as well.?
dpryor console Wed Mar 8 10:47 - 17:41 (2+06:53)