I may have written about this before but this tweet:
In Org-mode you can easily calculate difference between timestamps:
– use C-! to enter timestamps
– Place “–” between them (to make it a range)
– C-c C-y (bound to org-evaluate-time-range)
With a prefix argument inserts it into the buffer#emacs #org-mode https://t.co/Gf7plqSRW1 pic.twitter.com/uqkDEQYTIV— M-x tips (@iLemming) April 6, 2020
offers a nice animated demonstration of using Org Mode to calculate the time between two date/time stamps. Actually, it’s even better than that because it also tells you how to do it without Org using the Emacs Calendar command.
It’s not one of those things you need often but it’s really handy to have when you do.