I want to convert a date time value in a date field to a different date field where only the date displays. strptime and strftime seem to need strings. I can use the field calculator to essentially copy the date time value to the new date field but I can't figure out what I want to do using python in the field calculator.
10/14/1994 4:00:00 AM to 10/14/1994
Solved! Go to Solution.
Using the Python parser in the Field Calculator, you can do the following:
Using the Python parser in the Field Calculator, you can do the following:
That was just too easy.
So, even though it is a date object you can still use a string method on it?
Yeah, I guess so!
never guess.... datetime in python