JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › General Discussions › how to use ‘yyyy-MM-dd – yyyy-MM-dd’ format in daterangeinput? › Reply To: how to use ‘yyyy-MM-dd – yyyy-MM-dd’ format in daterangeinput?
May 22, 2025 at 7:49 am
#112519
Keymaster
Hi,
The daterangeinput uses Intl.DateTimeFormat for dates formatting. More details on: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat. The dateFormat property of the DateRangeInput can be set to an object like {day: “number”, month: “number”, year: “number”}. For available list of properties, please check the tutorial from the link which was provided here.
Best regards,
Markov
Smart UI Team
https://www.htmlelements.com