DateFieldNameOptions

Settings for the dateFieldName function.

NameTypeDefaultDescription

nameType?

"short" | "narrow" | "wide"

Specifies the names form.

type

"era" | "year" | "quarter" | "month" | "week" | "day" | "weekday" | "dayperiod" | "hour" | "minute" | "second" | "millisecond" | "zone"

Specifies the type of names.

In this article

Not finding the help you need?