Setting date attributes consists of the following activities:
Note: For information about date functions, see the Toolset Help.
A SET action can be used to establish the value of an attribute from an export or local view.
The SET statement in the following example sets a date attribute to the current date:
SET actual_date_started TO current date
A date view is a component of an entity view. A date view sees an attribute that is defined as a date. The SET statement in the following example sets a date attribute to a date view:
SET actual_date_started TO start date
You can build date duration expressions in Action Diagrams. These expressions let you add a number of years, months, and/or days to a date value. The expressions include dates and labeled durations. The result is another date value. Date durations are available when you select a date value (either date view or current date).
The following statement illustrates the format for date duration expressions:
SET customer_contact_date TO import_customer_contact_date _2_YEARS_3_MONTHS 12 DAYS
|
Copyright © 2014 CA.
All rights reserved.
|
|