Add Date Attributes (Crime Analysis and Safety)

ArcGIS Pro 3.4 | | Help archive

Summary

Adds fields containing date or time properties from an input date field, for example, day full name, day of the month, month, and year.

Usage

  • Existing fields will be overwritten in the Input Table value when an existing field name is the same as the defined Output Field Name value.

  • The values of the new fields will not update automatically if the values of the Date Field parameter are updated. Run this tool when the Date Field parameter is updated.

Parameters

LabelExplanationData Type
Input Table

The layer or table that contains the field with the date values that will be extracted.

Table View
Date Field

The date field from which data and time properties will be extracted to populate the new field values.

Field
Date Attributes

The date and time properties and fields that will be added to the input table.

  • Output Time Format—The date or time property that will be added to Output Field Name.
  • Output Field Name—The name of the field that will be added to the input table.

The Output Time Format options are as follows:

  • Hour—The hour value between 0 and 23.
  • Day Full Name—The full name of the day of the week, for example, Wednesday.
  • Day Numeric Value—The day of the week value between 1 and 7.
  • Month—The month value between 1 and 12.
  • Day of the Month—The day of the month value between 1 and 31.
  • Year—The year value in yyyy format, for example, 1983.
Value Table

Derived Output

LabelExplanationData Type
Updated Input Table

The updated input table containing the date attributes.

Table View

Licensing information

  • Basic: Yes
  • Standard: Yes
  • Advanced: Yes

Related topics