I would like to create an expression using the field calculator in ArcMap to be able to convert an Int field to a string and add leading zeroes.
I am able to do it in a python window with an example
x=450
print str(x).zfill(4)
>>>0450
I have tried:
!Time!.str().zfill(4)
but that gives me invalid syntax errors.