I'm using ArcGIS 10.3.3 and have a field containing a date as following format M/D/Y. I need to get the day of the week based on my date field.
I need to do this from the field calculator.
Example of my data:
def dayOfWeek(dField): dow = datetime.strptime(dField , '%d/%m/%Y').strftime('%A') return dow dayOfWeek(!evDate!)
but got error.