def normalize_seconds(seconds):
    """Returns how many days, hours, minutes & seconds there are in a total number of seconds
    """
    (days, remainder) = divmod(seconds, 86400)
    (hours, remainder) = divmod(remainder, 3600)
    (minutes, seconds) = divmod(remainder, 60)
    return (int(days), int(hours), int(minutes), seconds)