http://jojosati.github.io/bootstrap-datepicker-thai/ WebAbout Thaidatepicker-react is a component for ReactJS that likes other DatePicker, but all we need is Buddhist Year (25XX - aka Thai Year) come with the right render day …
How to set Year dropdown as Current thai Year? - Stack Overflow
WebJan 9, 2024 · The view that the datepicker should show when it is opened. Accepts values of 0 or 'month' for month view (the default), 1 or 'year' for the 12-month overview, and 2 or 'decade' for the 10-year overview. … WebApr 2, 2024 · How to Format display for Thai year because Thai-year uses Buddhist-Era (B.E.) that is 543 years greater than Christian-Era (C.E.). Example. 2024-01-31 format for Thai year 2562-01-31 chummy tummy
Proper way to change Bootstrap-Vue text field into …
Web1 Answer Sorted by: 2 This is an Intl issue. Try the following in the browser console: var myDate = new Date (); new Intl.DateTimeFormat ('th').format (myDate); You will see "12/9/2560". This is because the Buddhist calendar is used by default. You need to switch it to the Gregory calendar. So, your locale should be th-TH-u-ca-gregory. WebApr 10, 2024 · By default it's not showing Current Year as selected. Instead of 2561 it's showing 2461. By default if you select date. It's showing 2024. By default, I don't want to add. $ ('#date-of-birth').datepicker ("setDate",currentDate ); So initial it will be empty. javascript jquery html datepicker Share Improve this question Follow WebFeb 29, 2024 · thaidatepicker-react. 📘 About. Thaidatepicker-react is a component for ReactJS that likes other DatePicker, but all we need is Buddhist Year (25XX – aka Thai Year) come with the right render day (example: Sat, 29 Feb 2024 must be equal to Sat, 29 Feb 2563) so I wish this component will be a useful thing to you :D. Happy Coding. chummy the record