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
5
votes
1 answer

Can I convert an HTML date picker to a Hijri calendar format?

I have a small MVC 5 application which uses Arabic culture settings. I have a DateTime property in my model from this Razor syntax: @Html.EditorFor(m => m.StartDate) This DateTime control appears on the form like this: I need to convert this…
Abraham Josef
  • 653
  • 1
  • 8
  • 30
5
votes
1 answer

Custom CalendarView(Hijri)

My app is about Hijri(Islamic)calendar but default android CalendarView is gregorian! How can I customize Android Calendar View?! I need some thing like this:
Hadi Beigy
  • 101
  • 2
  • 8
5
votes
2 answers

Date picker for hijri(islamic) calender in android?

is there a way to build a datepicker for Hijri (Islamic) calender instead of the default one?
Amira
  • 61
  • 1
  • 5
5
votes
3 answers

Convert Hijri Shamsi date format tsql

I want convert my Hijri Shamsi date '92/2/3' to this format : '92/02/03' With this code, I get this error :The conversion of a varchar data type to a datetime data type resulted in an out-of-range value. Declare @Str Varchar(10) = '92/2/3' Select…
Ali Ahmadi
  • 2,387
  • 4
  • 31
  • 48
5
votes
3 answers

Hijri (Persian calendar) For DwtCalendar.js

This is a DHTML Gregorian calendar widget. I'm trying to make an Hijri (Persian Calendar - Jalali) widget. Does anyone have any ideas?
bizzr3
  • 1,925
  • 4
  • 24
  • 37
4
votes
2 answers

NSIslamicCalendar and NSIslamicCivilCalendar

What is the difference between NSIslamicCalendar and NSIslamicCivilCalendar?
Asad Qamber
  • 102
  • 11
4
votes
1 answer

save Jalali(Hijri shamsi) datetime in database in django

I have a Django project, and I want to save created_at datetime in the database. I generate datetime.now with jdatetime (or Khayyam) python package and try to save this in DateTimeField. But sometimes it raises error because the Gregorian(miladi)…
Kasra Najafi
  • 560
  • 5
  • 11
4
votes
3 answers

Validation of Hijri Date (Islamic Calendar) on Java 6

I want to validate Hijri date. In my application Hijri date will come as in the format of dd/MM/YYYY. I want to validate whether date is valid or not in Joda Time API. For example, I have the date: String date = "30/02/1403"; String Pattern =…
4
votes
1 answer

How to detect Hijri dates?

Can anybody tell a good way to detect that a date coming as a String is in Hijri Format? Any good solution that detects String Date type (Hijri) automatically? Initial Work or Thought: We can check that year starts from 14 or 13 like etc as Hijri…
Imran
  • 5,376
  • 2
  • 26
  • 45
4
votes
3 answers

Convert a gregorian date to Hijri date using java api

I have jdk java version "1.8.0_45", i am using joda time api (joda-time-2.7.jar) By using Joda time api i am getting a wrong date. By using Jdk 8 hijri date api i am getting a correct date. I have a requirement to convert a gregorian date to hijri…
4
votes
2 answers

Hijri, Gregorian date and time with arabic Numerals

I am working on to display the date in Arabic. That includes Hijri(Islamic) Date, Gregorian Date and time. The issue is, i want the numerals to be display the arabic numerals not the english ones. Remember, i can't change the whole page numerals…
Malik
  • 103
  • 6
4
votes
3 answers

Hijri calendar is 1 day too early.

how do I fix the Hijri calendar being 1 day too early? Today, my-time = 23 July, 2013 Tuesday And the Islamic calendar time = 14 Ramadan, 1434 (according to this My calendar is showing 15 Ramadan instead of 14. However I'm not sure whether it is my…
Belzelga
  • 143
  • 1
  • 5
  • 16
4
votes
2 answers

How to perform 'between' in Arabic (hijri) calendar and save it as 'date' in MySQL?

My question is actually my ultimate aim. So far, I am having 2 issues. How to save arabic date as a 'date' in mysql? because, I have been converting Gregorian to Hijri and then, using preg_replace (php, for now, final is in Java) would change the…
Keval Domadia
  • 4,768
  • 1
  • 37
  • 64
3
votes
3 answers

How to convert from Hijri Date to Georgian Date and vice versa

I am looking for a way to calculate for example how many days it is from now, to a specific Date AND that I can use to determine whether I am in a specific time period (eg. Muharram +- 5days) or not I have been looking for over 10hours now, and the…
Visonge
  • 99
  • 8
3
votes
2 answers

How to convert a Gregorian date to an Islamic (Hijri) date without the time?

See SO 15728744 and SO 51058875. How can the following be correct: LocalDate gregorianDate = LocalDate.parse(gregorianString, dateFormatter); HijrahDate islamicDate = HijrahDate.from(gregorianDate); I thought that the Hijri day ends at sunset, not…
Jonathan Rosenne
  • 2,159
  • 17
  • 27
1
2
3
9 10