Select to view content in your preferred language

Clearing Date Field (Python Toolbox)

165
1
03-19-2026 11:24 AM
samuel_e
Occasional Contributor

Is there a way to set a date field to None within a python toolbox tool? I found a thread from 2017 where the answer was no, but maybe something has changed since then.

For context, my agency has a database of regional developments which we keep updated through a custom python toolbox. If a development encounters a delay or a roadblock, for example, we want to delete the construction date estimates to show that it is open ended.

 

0 Kudos
1 Reply
DanPatterson
MVP Esteemed Contributor

<Null> is a table's representation of None

Calculate Field example, 

date_to_None.png

or as a python snippet

date_to_None2.png

 


... sort of retired...
0 Kudos