def PyTmHMSXtoS(h, m, s, x):
    """
    Convert hours-minutes-seconds-milliseconds to seconds as float
    Parameters
    ----------
    h: int, hours
    m: int, minutes
    s: int, seconds
    x: float, milliseconds

    Returns
    -------
    float, seconds
    """

    return h * 3600.0 + m * 60.0 + s + x