Move Data
If you intend to use a Move data step to populate a date-time field, please be aware of the following:
If the destination field resides in the page data model, the source field value must be in the format YYYY-MM-DD-HH.MM.SS or YYYY-MM-DD. If the field is in the format YYYY-MM-DD, the time of 12:00 am will be defaulted.
If the destination field resides in the user interface, you must use two steps if you want to populate both date and time. To explain this, we'll assume the field you want to populate is called EXPIRE_​DTTM:
First, you populate the date portion of the field. To do this, you'd move a date (this value can be in any valid date format that a user is allowed to enter) to a field called EXPIRE_​DTTM_​FWDDTM_​P1. In other words, you suffix _​FWDDTM_​P1 to the field name.
If you want to populate the time, you'd move the time (again, the field value can be in any format that a user could use to enter a time) to a field called EXPIRE_​DTTM_​FWDTTM_​P2. In other words, you suffix _​FWDDTM_​P2 to the field name.
If you intend to use a Move data step to populate a date-only field, please be aware of the following:
If the destination field resides in the page data model, the source field value must be in the format YYYY-MM-DD.
If the destination field resides in the user interface, the source field can be in any valid date format that a user is allowed to enter.
Note:%CURRENT-DATE. Keep in mind that the global variable%CURRENT-DATE contains the current date and you can move this to either a page data model, user interface, or temporary storage field. If you move %CURRENT-DATE to a temporary storage fields, it is held in the format YYYY-MM-DD.