Typescript Library Declarations (ES2023)
Intl
DateTimeFormat
Interface DateTimeFormat
Hierarchy
DateTimeFormat
Index
Methods
format
format
Range
format
Range
To
Parts
format
To
Parts
resolved
Options
Methods
format
format
(
date
?
)
:
string
Parameters
Optional
date
:
number
|
Date
Returns
string
format
Range
format
Range
(
startDate
,
endDate
)
:
string
Parameters
startDate
:
number
|
bigint
|
Date
endDate
:
number
|
bigint
|
Date
Returns
string
format
Range
To
Parts
format
Range
To
Parts
(
startDate
,
endDate
)
:
DateTimeRangeFormatPart
[]
Parameters
startDate
:
number
|
bigint
|
Date
endDate
:
number
|
bigint
|
Date
Returns
DateTimeRangeFormatPart
[]
format
To
Parts
format
To
Parts
(
date
?
)
:
DateTimeFormatPart
[]
Parameters
Optional
date
:
number
|
Date
Returns
DateTimeFormatPart
[]
resolved
Options
resolved
Options
(
)
:
ResolvedDateTimeFormatOptions
Returns
ResolvedDateTimeFormatOptions
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
format
format
Range
format
Range
To
Parts
format
To
Parts
resolved
Options