from datetime import datetime


def dt(msts: int) -> datetime:
    """
    Converts a JavaScript-style timestamp (milliseconds) to a Python datetime.

    Parameters
    ----------
    msts: int
        Timestamp to convert

    Returns
    -------
    :class:`datetime.datetime`
        Python datetime representing the passed date
    """
    return datetime.fromtimestamp(float(msts) / 1000)