def _dhms2day( d, h, m, s ):
    """
    The `_dhms2day` function converts hour, minute and second format for a given 
    day (decimal or integer) into a decimal day.
    
    Returns a float.
    """ 
    return d + h/24.0 + m/1440.0 + s/86400.0