DateFormatOptions

Interface for DateFormatOptions

Props

The following table outlines the props for the DateFormatOptions:

NameTypeDefaultDescription
calendar
string
-

Specifies the calendar mode other than gregorian

format
string
-

Specifies custom date formatting to be used.

skeleton
string
-

Specifies the skeleton for date formatting.

type
string
-

Specifies the type of date formatting either date, dateTime or time.