Im trying to automatically get the system time and date updated with the update cursor script, this is my script and the error
myField = "Date_Gener"
>>> rows = arcpy.UpdateCursor("Parcels")
>>> for row in rows:
... row.setValue(myField,'Date ( )')
... rows.updateRow(row)
...
Runtime error
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy\arcpy\arcobjects\arcobjects.py", line 1007, in setValue
return convertArcObjectToPythonObject(self._arc_object.SetValue(*gp_fixargs(args)))
RuntimeError: ERROR 999999: Error executing function.
The value type is incompatible with the field type. [Date_Gener]
Any suggestions? Please....