def tweet_id_to_timestamp(theid):
    """ Get millisecond creation time from twitter IDs

    :param theid: int id from tweet object
    :return: timestamp of object creation

    ----
    !!Only works for tweets authored after 2010-06-01!!
    ----

    """

    return ((theid >> 22) + 1288834974657) / 1000