IDOL Content Component 12.12

# 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.
EncryptResponse | Encrypt the output.
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.

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.12 | Last updated June 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL IDOL Content Component 12.12

Topic Title: DateConvert