Skip to content

Instantly share code, notes, and snippets.

Created Jan 17, 2019
What would you like to do?
(let* ((elapsed
(date-to-time "2019-01-17 18:05")
(date-to-time "2019-01-17 13:19"))))
(in_minutes (/ elapsed 60))
(in_hours (/ in_minutes 60))
(remained_minutes (mod in_minutes 60)))
(format "%d hours %d minutes" in_hours remained_minutes))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment