from datetime import datetime
utc_dt = datetime.strptime('1984-06-02T19:05:00.000Z', '%Y-%m-%dT%H:%M:%S.%fZ')
timestamp = (utc_dt - datetime(1970, 1, 1)).total_seconds()
Converting ISO 8601 date time to seconds in python