def deltatime_format(a, b):
  """ Compute and format the time elapsed between two points in time.
  Args:
    a Earlier point-in-time
    b Later point-in-time
  Returns:
    Elapsed time integer (in s),
    Formatted elapsed time string (human-readable way)
  """
  # Elapsed time (in seconds)
  t = b - a
  # Elapsed time (formatted)
  d = t
  s = d % 60
  d //= 60
  m = d % 60
  d //= 60
  h = d % 24
  d //= 24
  # Return elapsed time
  return t, f"{d} day(s), {h} hour(s), {m} min(s), {s} sec(s)"