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
2
votes
2 answers

Convert Hijri (Islamic Date) to Gregorian

I was working on a group project when we came to need Islamic date in Python. I found an extension of Ummalqurra but it does not work on Python 3.7.4, I would like help in this regard from the community to make a complete resource for Hijri Date in…
2
votes
1 answer

java : How to add days to Hijri date?

Using Joda I write: public static String adjustHijri(String dateHijri, int plusDays) { // dateHijri formatted as yyyy-MM-dd, eg: 1440-02-30 int yearHijri = Integer.parseInt(dateHijri.substring(0, 4)); int monthHijri =…
geek
  • 346
  • 6
  • 14
2
votes
1 answer

Schedule job using non Gregorian calendar cron expression

Is there a way to schedule cron jobs using the Islamic Calendar? Ideally: CronExpression cronExpression = new CronExpression("0 0 0 1 * ? *", CalendarEnum.ISLAMIC); I'm struggling to find the smallest clue on Java Quartz documentation (1 mention on…
LovaBill
  • 5,107
  • 1
  • 24
  • 32
2
votes
0 answers

Hijri DatePicker in Java

I'm programming Java program but I'm forced to use JDK 6 I need a Library of JDatePicker or JDateChooser in Hijri Calendar and the way to install it please
progtariq
  • 43
  • 6
2
votes
1 answer

Formula of Hijri date

What is the formula of converting "Time since epoch" stamp such as 1525249213 to Hijri date (Year - Month - Day)? I know there would be one day inaccuracy which is OK for me.
Humam Helfawi
  • 19,566
  • 15
  • 85
  • 160
2
votes
3 answers

hijri (islamic) calendar problem!

I would convert Gregorian date to Hijri (Islamic) date. After may search on the web, I found a source code to convert it. I converted the code from Java and PHP to C base. The implement some times working without any problem. But some days has…
Alish
  • 133
  • 3
  • 13
2
votes
3 answers

PHP intl can convert a Gregorian date to other calendar type

PHP intl can convert a Gregorian date to other calendar type. For example Gregorian to Hijri, 2017/04/11 to 1396/01/22 Or we must use external library to convert dates?
msoa
  • 1,339
  • 3
  • 14
  • 33
2
votes
1 answer

Wrong in Converting from Gregorian to Hijri Date (Android Studio)

I am developing an app that needs Hijri Date, I used what was published here converting gregorian to hijri date . It works for me but it gave wrong date for example when the Gregorian is 20/9/2016 it became 17/12/1437 IN Hijri, and that's wrong it…
Fatimah Mohmmed
  • 147
  • 2
  • 18
2
votes
2 answers

Symfony Date to Hijri date conversion in twig file

In symfony template we can use the formatters like {{ news.created|date('Y-m-d') }} I need something similar for the hijri date conversion. Meaning I provide the date in gregorian and it convert it to hijri in the twig template file may be…
AbdulBasit
  • 1,269
  • 11
  • 19
2
votes
0 answers

how to make combine Gregorian and Islamic(Hijri) calendar in iOS?

In my iOS app there is there is combine Gregorian and Islamic(Hijri) calendar in UI. Something like below screenshot - combine Gregorian and Islamic(Hijri) calendar First, I go through cocoapods Calendar's. There several examples for calendar…
Vishal Sharma
  • 1,733
  • 2
  • 12
  • 32
2
votes
0 answers

How to add correct hijri date in android application with location based?

I want to add Hijri (Islamic calendar) date in my project. How can I get current correct date?
Mostasim Billah
  • 4,447
  • 3
  • 19
  • 28
2
votes
1 answer

Arabic(hijri) calendar/datepicker using smartclient

I am working on an arabic language support project using smartclient 10.0. It requires an arabic(hijri) calendar support for date picker component. How can I add arabic(hijri) calendar for date picker component in smartclient?
2
votes
2 answers

How to convert Hijri (Islamic) date to Gregorian date

I want to convert Hijri date to Gregorian date! I've searched, but unfortunately I found a java class for converting Gregorian to Hijri. I need the opposite. HijriCalendar.java: https://gist.github.com/fatfingers/6492017
Mahmoud Elshamy
  • 578
  • 1
  • 5
  • 13
2
votes
1 answer

Querying with Arabic (Hijri) DateTime

I essentially have a query that looks like this: .Where(x=>x.Date < DateTimeOffset.UtcNow) Now, this has worked as intended so far, but since also adding Arabic into my application, apparently their calendar system uses something called a Hijri…
Alan Ciantar
  • 278
  • 1
  • 3
  • 14
2
votes
1 answer

Hijri and Gregorian Calender in WPF?

I need to use the control System.Windows.Controls.Calendar to display the Hijri Dates and to display the Gregorian dates as well in the same window. I have tried thread Culture, but the result was all of the calenders were changed, and the change…
Abdallah Nasir
  • 607
  • 6
  • 33