def get_times(dt):
    """
    Converts seconds into hours, minutes and seconds
    :param dt: The time in seconds
    :type dt: float
    :return: hours, minutes and seconds
    :rtype: int, int, float
    """
    mins = (dt - dt % 60) / 60
    dt = dt - 60 * mins
    hours = (mins - mins % 60) / 60
    mins = mins - 60 * hours
    return hours, mins, dt