dateSeparator

dateSeparator

Description

Specifies the default separator character used for date fields.

The default value is *job, meaning the separator comes from the job. Where Profound.js has to resolve *job to an actual character, it uses a forward slash (/). A specific separator can be set instead – commonly /, -, ., or ,.

The fixed date formats *iso, *usa, *eur, and *jis carry their own separator, so a separator specified alongside them is not applied (see dateFormat).

Example

Use a dash as the date separator, producing dates such as 12-31-2026 with the default *mdy format:

dateSeparator: "-"

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