How can I properly format and calculate time differences using datetime in Python

welcome to shbcf.ru