from datetime import datetime


def datetime_from_ms(ms):
    """
    Convenience to return datetime from milliseconds

    :return: datetime from ms
    :rtype: datetime
    """
    return datetime.fromtimestamp(ms / 1000.0)