# 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 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm