Bite 198. Calculate my Mac's longest uptime

Given the following output, calculate the longest uptime / time between reboots:

[[email protected] log]$ last reboot
reboot    ~                         Wed Apr 10 22:39
reboot    ~                         Wed Mar 27 16:24
reboot    ~                         Wed Mar 27 15:01
reboot    ~                         Sun Mar  3 14:51
reboot    ~                         Sun Feb 17 11:36
reboot    ~                         Thu Jan 17 21:54
reboot    ~                         Mon Jan 14 09:25

The tests will check your code against different last reboot outputs. You can assume all dates are within the same year.

Have fun and code in Python!

5 out of 5 users completed this Bite.
Will you be Pythonista #6 to crack this Bite?

Login and get coding
We use Python 3.7