I'm trying to pull all of the unique dates out of an attribute field and I'm having issues formatting the output. Right now I have the following:
table = r"C:\Temp\SomeFile.shp"
field = "ADD_DATE"
valueList = 
rows = arcpy.SearchCursor(table)
for row in rows:
uniqueSet = set(valueList)
uniqueList = list(uniqueSet)
The output is datetime.datetime(2017, 9, 19, 14, 28, 29) I'd like it to simply be 2017/09/19
Can anyone help?