def _millis(when):
    micros = _microseconds_from_datetime(when)
    return micros // 1000
Convert a zone-aware datetime to integer milliseconds.
dataset/ETHPy150Open GoogleCloudPlatform/gcloud-python/gcloud/_helpers.py/_millis