AnsweredAssumed Answered

arcpy script tool - format parameter Date data type

Question asked by NJurko on Jan 24, 2017
Latest reply on Jan 30, 2017 by Dan_Patterson

I have written a script and have an arcpy tool in a custom toolbox to fill in the parameters. 

Two of my parameters are dates. 

The Date data-type format for the parameters has a default setting of date and time format to the script.

I'd like to only pass the date onto my script.  I included some screenshots of my parameters and the date data-type in the tool.

This old geonet question asks the same sort of thing for a python toolbox (.pyt) but doesn't provide an answer.

 

Has anyone found a way to access the properties of the date data type?  I haven't been able to find any help in the documentation.

 

I'm working in ArcGIS 10.4.

 

This is my last-ditch effort before I strip it apart myself in the validation.

 

Thanks,

Natasha

Outcomes