def seconds_into_day(time):
    """Takes a time in fractional days and returns number of seconds since
    the start of the current day.

    Parameters
    ----------
    time: float
        The time as a float.

    Returns
    -------
    int
        The day's duration in seconds.
    """
    return(int(round(86400.0 * (time % 1))))