HOW TO

Populate a date field with unique values

Last Published: April 25, 2020

Summary

Instructions provided describe how to generate unique date values after adding a new date field to an attribute table.

Procedure



  1. Start ArcMap.
  2. Right-click on a layer and Select 'Open Attribute Table.'
  3. Select 'Options > Add Field'. Name the field.
  4. Select 'Date' from the 'type' menu. Click OK.
  5. Right-click on the date field.
  6. Select 'Calculate Values'.
  7. Select the 'Date' radio button in the Field Calculator dialog box.
  8. Copy the code below into the text box.

    Code:
    DateValue("mm/dd/yyyy")

    or

    Code:
    DateValue("February 11, 2002")

  9. Click OK.

Article ID:000005626

Software:
  • Legacy Products
  • ArcMap 9 x
  • ArcMap 8 x

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic