PROCÉDURE

convertir un champ de texte en champ de date dans ArcGIS Pro

Last Published: July 27, 2023

Résumé

In ArcGIS Pro, the Convert Time Field tool converts time values of a string or numeric field to a date field. The tool can also be used to convert time values stored in string, numeric, or date fields into custom formats, such as days and months.

The instructions provided describe how to use the Convert Time Field tool in ArcGIS Pro to convert a text field to a date field in an attribute table. The DATE_V field in the Nbo_Hood_Clip attribute table shown in the image below is converted to a DATE field in this example.

The Nbo_Hood_Clip attribute table in ArcGIS Pro

Procédure

  1. Start ArcGIS Pro and open the project.
  2. On the ArcGIS Pro ribbon, click Analysis > Tools to open the Geoprocessing pane.
The ArcGIS Pro Analysis tab
  1. In the Geoprocessing tool search pane, search for Convert Time Field in the search bar, and click Convert Time Field (Data Management Tools).
ArcGIS Pro Geoprocessing tool search pane
  1. In the Convert Time Field pane, configure the following parameters.
    1. For Input Table, select the attribute table.
    2. For Input Time Field, select the field with the time values.
    3. For Input Time Format, select the date format of the field with the time values.
    4. For Output Time Field, define the name of the new converted field.
Note:
Refer to ArcGIS Pro: Convert Time Field (Data Management) for further information on the parameters in the Convert Time Field pane.
  1. Click Run.
ArcGIS Pro Convert Time Field pane

ID d’article:000026575

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement

Informations associées

En savoir plus sur ce sujet