Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Configuring the date format

Note

The date format is not applied if the Dates Don’t Apply option is selected.

The date format is configured on the Learning Plan Definition

...

. It has a max length of 200 characters.

...

Syntax

The format string can contain any letters or symbols that you want, in addition to supporting placeholder values in this form: {<field>:<format>}

...

Token

Usage

Example

yy

Two digit year

4/6/2020 → “20”

yyyy

Four digit year

4/6/2020 → “2020”

M

Month as a number, no padding

4/6/2020 → “4”

MM

Month as number, padded

4/6/2020 → “04”

MMM

Month as an abbreviated string

4/6/2020 → “Apr”

MMMM

Month as unabbreviated string

4/6/2020 → “April”

d

Day of the month, no padding

4/6/2020 → “6”

dd

Day of the month, padded

4/6/2020 → “06”

/

Literal “/” character, to be used as a separator

“4/6/2020”

Literal whitespace character, to be used as a separator

“June 2020”

-

Literal “-” character, to be used as a separator

“4-6-2020”

,

Literal “,” character, to be used as a separator

“January, 2020”

Examples

Format string

Example

{CycleEnd:yyyy}

Certified Office Dog Recert
2020

{CycleStart:yyyy} - {CycleEnd:yyyy}

Certified Office Dog Recert
2019 - 2020

{CycleStart:MMMM yyyy} Cohort

Certified Office Dog Recert
January 2020 Cohort

{CycleStart:MM/dd/yyyy} to {CycleEnd:MM/dd/yyyy}

Certified Office Dog Recert
01/01/2020 to 12/31/2020