Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #6082

Re: Gregorian Date to Hijri Date

From "Jamal" <jamal@examples.net>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Gregorian Date to Hijri Date
Date 2013-10-12 00:22 -0400
Organization Aioe.org NNTP Server
Message-ID <l3aipe$l46$1@speranza.aioe.org> (permalink)
References <l39qoc$5j3$1@speranza.aioe.org> <d307fb75-3875-4466-91f6-55ca7444239e@googlegroups.com>

Show all headers | View raw


Oh! Here is the code for GetLunarMonth() function.

FUNCTION GetLunarMonth(dwMonth AS LONGINT) AS STRING PASCAL
    LOCAL aHijriMonths := {"Muharram", "Safar", "Rabi I", "Rabi II", "Jumada 
I", "Jumada II", "Rajab", "Sha'ban", "Ramadan", "Shawwal", "Dhu'l-Qa'dah", 
"Dhu'l-Hijja"} AS ARRAY
RETURN aHijriMonths[dwMonth]

For the best description for the Islamic Hijri Calendar, please see 
http://en.wikipedia.org/wiki/Islamic_calendar

Jamal

"Sherlock"  wrote in message 
news:d307fb75-3875-4466-91f6-55ca7444239e@googlegroups.com...

Code for the GetLunarMonth() function/

Pardon my ignorance what is an "Islamic Hijri Date" ?

My history of the Gregorian was prior there were 10 months which became 12 
months and even a day was taken from February given to another month as they 
primarily represented Popes/Roman emperors. A fascinating and twisted 
history in time.
Then I think the Greeks had their own religious calendar.
So there is an Islamic calendar as well for say different events and does 
this code line of this up?

Just interested how it works. 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Gregorian Date to Hijri Date "Jamal" <jamal@examples.net> - 2013-10-11 17:32 -0400
  Re: Gregorian Date to Hijri Date Sherlock <sherlock@sherlock.com.au> - 2013-10-11 19:20 -0700
    Re: Gregorian Date to Hijri Date "Jamal" <jamal@examples.net> - 2013-10-12 00:22 -0400
  Re: Gregorian Date to Hijri Date Rob Smith <rasmithhalifax@gmail.com> - 2013-10-14 04:26 -0700

csiph-web