DateFormatNameOptions

Settings for the dateFormatNames function.

lower?

boolean

Specifies whether the returned names should be converted to lower case.

nameType

"abbreviated" | "narrow" | "short" | "wide"

Specifies the form of the names.

standAlone?

boolean

Specifies whether the standalone names should be returned.

type

"dayPeriods" | "days" | "months" | "quarters" | "eras"

Specifies the type of the names.

In this article

Not finding the help you need?