Guest User

Untitled

a guest
Jan 17th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. (let* ((elapsed
  2. (float-time
  3. (time-subtract
  4. (date-to-time "2019-01-17 18:05")
  5. (date-to-time "2019-01-17 13:19"))))
  6. (in_minutes (/ elapsed 60))
  7. (in_hours (/ in_minutes 60))
  8. (remained_minutes (mod in_minutes 60)))
  9. (format "%d hours %d minutes" in_hours remained_minutes))
Add Comment
Please, Sign In to add comment