Provides localized Intl.DateTimeFormat for the current locale.
Format options. Create options outside of rendering to enable format caching.
const format = useDateTimeFormat({ dateStyle: 'full' });format.format(100);// ⮕ 'Monday, April 21, 2025' Copy
const format = useDateTimeFormat({ dateStyle: 'full' });format.format(100);// ⮕ 'Monday, April 21, 2025'
Provides localized Intl.DateTimeFormat for the current locale.