Hello,
I am currently working with the API to pull data from a feature layer, transform it to a geodataframe with geopandas, and push it to a PostgreSQL database with PostGIS. (<-- just explaining the need to turn the layer into a gdf, since geopandas has a nifty .to_postgis method)
Unfortunately, this is changing the DateTime field into a format I can't understand or parse. Below is my code, and the resulting DT field. The original field is in the routine Esri DateTime format.
gis = GIS()
url_2000 = 'https://services3.arcgis.com/T4QMspbfLg3qTGWY/arcgis/rest/services/Historic_Geomac_Perimeters_All_Years_2000_2018/FeatureServer/0'
layer_2000 = FeatureLayer(url_2000)
fset_2000 = layer_2000.query()
gjson_string_2000 = fset_2000.to_geojson
gjson_dict_2000 = json.loads(gjson_string_2000)
gdf_2000 = gpd.GeoDataFrame.from_features(gjson_dict_2000['features'])

Any help figuring this out would be much appreciated, thanks in advance!