Facebook Connector 26.2
Facebook Connector Help

# 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 2026 Open Text
Version 26.2 | Last updated April 2026

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 MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Facebook Connector 26.2

Topic Title: getDateFormats