def get_time_duration(before, after):
    """Returns the difference between two datetime objects in format: hours:minutes:seconds"""
    total_seconds = (after - before).seconds
    mins, secs = divmod(total_seconds, 60)
    hours, mins = divmod(mins, 60)
    return "{}:{}:{}".format(hours, mins, secs)