I have the following table with many inputs. I want to calculate the days the student were in class (max-min date in the table). I should use Timedelta.totalSeconds() ?