Questions tagged [hijri]

The Hijiri calendar, also known as the Islamic or Muslim calendar, is a lunar calendar consisting of 354 (or 355) days divided among 12 months.

More information on the Hijiri calendar found here: https://en.wikipedia.org/wiki/Islamic_calendar

146 questions
22
votes
5 answers

Converting Gregorian date to Hijri date

How do you convert Gregorian dates to Islamic Hijri dates using JavaScript?
FuNk
  • 223
  • 1
  • 2
  • 6
21
votes
3 answers

Is there any jQuery plugin for Hijri calendars?

I wonder if there is any jQuery DatePicker plugin for Hijri calendars?
Ahmed Atia
  • 17,848
  • 25
  • 91
  • 133
16
votes
7 answers

converting gregorian to hijri date

I want to convert from Gregorian to Hijri(Islamic) date and I need a java class for this converting. I want to give it an Gregorian date in format of "yyyy/mm/dd" as string and it give me the Hijri date in the same format. can anyone help me?
anony
  • 247
  • 1
  • 3
  • 11
13
votes
3 answers

How to Convert any of the 5 Islamic (Hijri) Calendars' Dates to any of 18 World Calendars without External Libraries or Complex Astronomical Formulas

Searching on both StackOverflow and CodeReview sites, the Method described in this Question/Post has not been attempted; which is to convert the 5 Islamic Calendars' Dates to any of the 18 available calendars in Javascript without the use of…
Mohsen Alyafei
  • 4,765
  • 3
  • 30
  • 42
13
votes
5 answers

Hijri (islamic) calendar in swift التاريخ الهجري

can someone help me please I'm trying to create an IOS app using Swift language and I need to use Hijri (islamic) calendar I tried many time but I failed :( this is my try let datenow = NSDate() let calendar = NSCalendar.currentCalendar() …
Abdulaziz Noor
  • 6,413
  • 2
  • 19
  • 21
11
votes
1 answer

Is there any correct converter for Hijri dates to Gregorian dates

I have work on many projects with date converts. for example, I work on the solar calendar and how to convert them to Gregorian dates and vice versa. The solar calendar (Persian calendar) is almost similar to the Gregorian date in terms of the…
Reza Paidar
  • 863
  • 4
  • 21
  • 51
11
votes
3 answers

Cannot convert from Hijri Date to Gregorian date (c#)

Now i am working with Hijri dates and trying to convert them to Gregorian dates using the following code : string HijriDate; string[] allFormats ={"yyyy/MM/dd","yyyy/M/d", "dd/MM/yyyy","d/M/yyyy", "dd/M/yyyy","d/MM/yyyy","yyyy-MM-dd", …
special life
  • 225
  • 1
  • 7
  • 20
8
votes
2 answers

Discrepancy in Javascript Intl.DateTimeFormat() Outputs for the Islamic (Hijri) Calendar between 'islamic' and 'ar-SA'

The 3rd March 2022 is the end of this Hijri Month (month of Rajab for this year 1443 AH); i.e. 30 Rajab 1443 AH. The month of Rajab for the year 1443 AH is 30 days in accordance with the Islamic (Hijri) Calendar in accordance with all websites,…
Mohsen Alyafei
  • 4,765
  • 3
  • 30
  • 42
8
votes
6 answers

Converting GETDATE() to Hijri date to yyyymmdd

I am trying to get the Hijri GETDATE() and convert it into this format yyyymmdd I have already tried this script SELECT CONVERT(VARCHAR(10), GETDATE(), 131) but it gives me this format ( 16/06/1438 ) and what I actually need is (1438/06/16)
7
votes
3 answers

Get Month Name of java.time.chrono.HijrahDate instance

HijrahDate hd=HijrahChronology.INSTANCE.date(LocalDate.of(2014,11, 25)); If we have HijrahDate Instance , it is expected to have a method in UmalquraCalendar API that shows the name of month : i inspect properties of this instance using groovy API…
Abdennour TOUMI
  • 87,526
  • 38
  • 249
  • 254
6
votes
1 answer

Get a gregorian date from Hijri date strings

I would like to get a gregorian date from the Hijri date indexs. e.g getDate(1436, "SHawwal", 18) This should return 3rd August 2015 How could I do the conversion ?
Prakash Raman
  • 13,319
  • 27
  • 82
  • 132
6
votes
1 answer

JavaFX 8 DatePicker features

I just start using the new JavaFX 8 control DatePicker. In DatePicker User Experience Documentation, it is stated that it has couple of cool features that I would like to have in my GUI application: I want to change the format from mm/dd/yyyy to…
Eng.Fouad
  • 115,165
  • 71
  • 313
  • 417
5
votes
1 answer

How to subtract Hijrah year from a Hijrah Date in Java 8 Date API

I want to display the Ramadan 2017 start and end dates. I tried writing code using the HijrahChronology built into Java 8 and later, with HijrahDate class. import java.time.LocalDate; import java.time.chrono.HijrahDate; import…
Rahul
  • 143
  • 1
  • 17
5
votes
1 answer

How to print Hijrah months in java?

Any enum to associate below months? 1 Muharram 2 Safar 3 Rabi\u02bb I Rabi\u02bb II Jumada I Jumada II Rajab Sha\u02bbban Ramadan Shawwal Dhu\u02bbl-Qi\u02bbdah Dhu\u02bbl-Hijjah
5
votes
1 answer

Hijri (Arabic) calendar date picker using javascript and MVC

I am working on a project that has a form which requires the user to input a date using the Hijri (Arabic) calendar. I have already created JavaScript files to do it, but it's in English format. I just want it in Arabic. var cal1 = new…
AhmedNazeh
  • 51
  • 2
  • 10
1
2 3
9 10