1.3.11.2 Add Date Attribute

The Add Date Attribute processor adds a new DATE attribute with a given value to all records input to it.

Note that in EDQ all DATE values have time components, though the time component may not always be used in processing.

The primary use of the Add Date Attribute processor is to create a test DATE value for another processor to handle. You may also use it to tag a set of records with a specific Date and Time, though note that this value is fixed in the configuration. To add a Date and Time stamp when the record is processed, use Add Current Date.

The following table describes the configuration options:

Configuration Description

Inputs

This processor does not require any inputs, as it adds an attribute to all records input to it.

Options

Specify the following options:

  • New Attribute Value: allows you to specify a Date and Time to add to all records. Specified as a date. Default value: defaults to the current date and time when the processor is configured.

  • Time zone: sets the time zone to use for the new Date value. Specified as a date. Default value is the Director Time Zone.

Outputs

Describes any data attribute or flag attribute outputs.

Data Attributes

The following data attributes are output:

  • NewDate: the new DATE attribute that you are adding. Value is as specified in the New Attribute Value option.

Flags

None.

The Add Date Attribute processor does not output any summary data. The new attribute is shown to the left of all other attributes in the data view.

Output Filters

None.

Example

In this first example, Add Date Attribute is used to add a test date value for use in a downstream processor:

This list describes the elements in the Summary page:

Date

  • 28-Oct-2011 16:27:28

  • 28-Oct-2011 16:27:28

  • 28-Oct-2011 16:27:28

  • 28-Oct-2011 16:27:28

  • 28-Oct-2011 16:27:28

  • 28-Oct-2011 16:27:28

  • 28-Oct-2011 16:27:28

  • 28-Oct-2011 16:27:28