YouTube Connector 12.13

# getDateFormats

Use this function to return Date formats used by the feed. These formats are used to convert the `DREDATE` field or any field name ending with "`_DATE`", or values returned by XPath queries that are expected to return dates to a consistent date format. If the fields do not match any of the date formats listed, the original value is returned.

The output type is actually a Lua table that uses default numeric keys:

    { “DDMMYYYY”, ...}

This is equivalent internally within Lua to:

    { 1=”DDMMYYYY”, 2=...}

Inputs: | [NONE]
Outputs: | dateFormats (list:{string})
See also: |

## Example

    function getDateFormats()
        return { "YYYY-MM-DDTHH:NN:SS" }
    end

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 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 YouTube Connector 12.13

Topic Title: getDateFormats