Based on the sample data column below, what tool I can use in ArcGIS Pro 3 to create the Year
, Month
and Day
columns in the attribute table?
The purpose is to then use these columns to create a space time cube
.
Please note that I am not looking for a Python
script based solution, as I know this can be easily done in R
. I am looking for a tool
or a model builder
based solution` (if necessary).
Sample data:
1/27/2021 4:48:45 PM
12/30/2020 8:59:58 PM
12/24/2020 9:18:21 PM
1/22/2021 10:38:24 PM
12/18/2020 9:12:52 AM
1/28/2021 9:26:15 AM
Best Answer
Create new fields in your field designer for each field, year, month, and day. Then use the field calculator to calculate each value using the python interpreter, respectively.
!datefield!.year
,!datefield!.month
, and!datefield!.day
.