docs: def _DateToEpoch(date):
    """Converts python datetime to epoch microseconds."""
    tz_zero = datetime.datetime.utcfromtimestamp(0)
    diff_sec = int((date - tz_zero).total_seconds())
    return diff_sec * 1000000