Date Model
FullCalendar does not require a third-party date library. Its API accepts and emits native JavaScript Date objects, along with plain Duration objects for expressing amounts of time. Internally, it uses the Temporal browser API via the temporal-polyfill package, a peer dependency you are required to install.
If you would rather write date formatting strings with a library you already use, connector plugins are available for Moment and Luxon.
Date Parsing FullCalendar accepts dates in several formats, wherever its API takes date input.Date Objects FullCalendar's API exposes dates as native JavaScript Date objects.Duration Object A duration is a way to express an amount of time that has passed.Date Formatting The term "date formatting" means taking a Date object and converting it into a string.temporal-polyfill The temporal-polyfill package is now a peer dependency of all the FullCalendar packages.
Util Methods
formatDate A utility function that formats a date into a string.formatRange Formats two dates, a start and an end, into a string.Calendar::formatDate A method that formats a date into a string.Calendar::formatIso Formats a date into an ISO8601 string.Calendar::formatRange Formats two dates, a start and an end, into a string.