dateFormat

dateFormat

Description

Specifies the default format for date fields. Valid values are:

  • *job

  • *mdy

  • *dmy

  • *ymd

  • *jul

  • *iso

  • *usa

  • *eur

  • *jis

The default value is *mdy. Any other value causes a configuration error at startup.

When Profound.js runs within Genie, the date format is inherited from the Genie job and the dateFormat configuration setting is ignored.

Example

Use the ISO format (yyyy-mm-dd) as the default for date fields:

dateFormat: "*iso"

See also dateSeparator.

For information on how to modify this setting, see Configuration File.