def to_arcgis_date(datetime_obj):
    """ Converts a datetime to an ArcGIS timestamp.
        :param datetime_obj: A datetime.datetime
        :return: An int expressing the same date/time as an ArcGIS timestamp.
    """
    if datetime_obj is not None:
        return datetime_obj.timestamp() * 1000
    return None