function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MOHAMMED AL IMAMMOHAMMED AL IMAM 

Hi, I want to build a Hijiri Calender component using LWC

I need a date picker when i selects that it should show Hijiri calendar
If We Select Hijiri Date Automatically English Date to be Convert
Vice Versa If we select the English Date Hijri date should update.
so basically in that component i need two date field one English date and other one Arabic Date.

Provide the code for the above requirement
 
PriyaPriya (Salesforce Developers) 

Hi Mohammed,

Kindly refer this link that matches your requirement and modify it as per your need :- 

https://blog.cloudanalogy.com/a-brief-overview-on-customizing-calendar-in-salesforce-lightning/

https://absyz.com/custom-calendar-lightning-component/

If it helps, please mark it as best answer.

Regards,

Priya Ranjan

Michelle RouhanaMichelle Rouhana
Hi Mohamed, 

How did you implement what is describe below? any proposed solution? 
If We Select Hijiri Date Automatically English Date to be Convert
Vice Versa If we select the English Date Hijri date should update.
so basically in that component i need two date field one English date and other one Arabic Date.


Thx, Michele