YouTube Connector 23.3

# 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 2023 Open Text
Version 23.3 | Last updated June 2023

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 23.3

Topic Title: getDateFormats