We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How can i display hijri calender

Hi,

My questions is how can I use the datetimepicker as a hijri datetimepicker. Is there any control available in syncfusion for choosing hijri datetime ?


Regards,

3 Replies

SK Senthil Kumaran Rajan Syncfusion Team December 28, 2015 10:03 AM UTC

Hi Dev,

Thanks for contacting Syncfusion Support.

The reported requirement can be achieved by assigning the culture to the DateTimePickerAdv. Please make use of the below code example.

Code Example[C#]:

//To set the culture for Hijri Format

this.dateTimePickerAdv1.Culture = new System.Globalization.CultureInfo("ar-sa");


We have prepared the sample for your reference and it can be downloaded from here.

Sample : http://www.syncfusion.com/downloads/support/forum/121534/ze/HijriCalender1720435233

Also, refer to the following screenshot for further reference.

Screenshot :



Regards,
Senthil


DE dev December 28, 2015 02:54 PM UTC

Thanx Senthil. it solves my problem :)


SK Senthil Kumaran Rajan Syncfusion Team December 29, 2015 03:46 AM UTC

Hi Dev,

Thank you for your update.

We are glad to know that, your requirement has been achieved. Please let us know if you need any further assistance, we will be happy to assist you.

Regards,
Senthil

Loader.
Up arrow icon