DateFieldNameOptions

Settings for the dateFieldName function.

NameTypeDefaultDescription

nameType?

"short" | "narrow" | "wide"

Specifies the names form.

type

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

Specifies the type of names.

In this article

Not finding the help you need?