def METHOD_NAME(seconds):
    """Calculate days/hours/minutes from seconds.
    :param seconds: integer containing the seconds we want calculated
    :returns: A tuple of (days, hours, minutes, seconds)
    """
    if not seconds:
        seconds = 0
    days = 0
    hours = 0
    minutes = 0
    remainder = seconds
    # Sometimes (very rare) the acctsessiontime turns out to be in the negative.
    # Not sure why this happens, but this if at least secures correct output
    # Need to look into this.
    if seconds >= 0:
        days = remainder // 86400
        remainder %= 86400
        hours = remainder // 3600
        remainder %= 3600
        minutes = remainder // 60
        remainder %= 60
        seconds = remainder
    return days, hours, minutes, seconds