DateConvert
Converts dates to a different date format.
If you specify the Date parameter only, IDOL Content Component converts a date in one of the standard date formats to the AUTNDATE
value and a human-readable dd/mm/yyyy
date string.
If you specify both Date and DateFormat, IDOL Content Component converts the specified date string to its AUTNDATE
value and a human-readable date string in the DateFormat that you specify.
Example
action=DateConvert&Date=10/05/1234&DateFormat=DD/MM/YYYY
Required Parameters
The following action parameters are required.
Parameter | Description |
---|---|
Date | The date to convert |
Optional Parameters
This action accepts the following optional parameters.
Parameter | Description |
---|---|
DateFormat | The date format of the Date value. |
This action accepts the following standard ACI action parameters.
Parameter | Description |
---|---|
ActionID | A string to use to identify an ACI action. |
FileName | The file to write output to. |
ForceTemplateRefresh | Forces the server to load the template from disk. |
Output | Writes output to a file. |
ResponseFormat | The format of the action output. |
Template | The template to use for the action output. |
TemplateParamCSVs | A list of variables to use for the specified template. |