PC Review


Reply
Thread Tools Rate Thread

converting dates to iranian and islamic calendar

 
 
m nassiri
Guest
Posts: n/a
 
      28th Jan 2008
I like to convert dates in excel to Iranian and islamic - lunar calendar?

 
Reply With Quote
 
 
 
 
Ron Rosenfeld
Guest
Posts: n/a
 
      28th Jan 2008
On Sun, 27 Jan 2008 20:28:01 -0800, m nassiri <m
(E-Mail Removed)> wrote:

>I like to convert dates in excel to Iranian and islamic - lunar calendar?


I don't know about the Iranian calendar, but I don't believe it is possible to
compute a true (religious) Islamic calendar.

My understanding (from http://www.tondering.dk/claus/cal/node6.html ) is that
each month starts when the lunar crescent is first seen (by an actual human
being) after a new moon.

Although new moons may be calculated quite precisely, the actual visibility of
the crescent is much more difficult to predict. It depends on factors such as
weather, the optical properties of the atmosphere, and the location of the
observer. It is therefore very difficult to give accurate information in
advance about when a new month will start.

Furthermore, some Muslims depend on a local sighting of the moon, whereas
others depend on a sighting by authorities somewhere in the Muslim world. Both
are valid Islamic practices, but they may lead to different starting days for
the months.


--ron
 
Reply With Quote
 
Abdul
Guest
Posts: n/a
 
      28th Jan 2008
By totally agreeing with Ron, the following function will convert date
to Hijri.


Function DHijri(dtGegDate As Date) As String

' returns a date in Hijri format for a given western date
VBA.Calendar = vbCalHijri
DHijri = dtGegDate
VBA.Calendar = vbCalGreg

End Function

Abdul


Ron Rosenfeld wrote:
> On Sun, 27 Jan 2008 20:28:01 -0800, m nassiri <m
> (E-Mail Removed)> wrote:
>
> >I like to convert dates in excel to Iranian and islamic - lunar calendar?

>
> I don't know about the Iranian calendar, but I don't believe it is possible to
> compute a true (religious) Islamic calendar.
>
> My understanding (from http://www.tondering.dk/claus/cal/node6.html ) is that
> each month starts when the lunar crescent is first seen (by an actual human
> being) after a new moon.
>
> Although new moons may be calculated quite precisely, the actual visibility of
> the crescent is much more difficult to predict. It depends on factors such as
> weather, the optical properties of the atmosphere, and the location of the
> observer. It is therefore very difficult to give accurate information in
> advance about when a new month will start.
>
> Furthermore, some Muslims depend on a local sighting of the moon, whereas
> others depend on a sighting by authorities somewhere in the Muslim world. Both
> are valid Islamic practices, but they may lead to different starting days for
> the months.
>
>
> --ron

 
Reply With Quote
 
Ron Rosenfeld
Guest
Posts: n/a
 
      28th Jan 2008
On Sun, 27 Jan 2008 22:37:58 -0800 (PST), Abdul <(E-Mail Removed)>
wrote:

>By totally agreeing with Ron, the following function will convert date
>to Hijri.
>
>
>Function DHijri(dtGegDate As Date) As String
>
> ' returns a date in Hijri format for a given western date
> VBA.Calendar = vbCalHijri
> DHijri = dtGegDate
> VBA.Calendar = vbCalGreg
>
>End Function
>
>Abdul


The only caution is that this calendar may differ from the "true" religious
Islamic calendar by a day or so.
--ron
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you add the Iranian calendar to the Alternate Calendar? Tracer Microsoft Outlook Calendar 3 15th May 2008 10:16 PM
Add Aashora to Islamic Calendar =?Utf-8?B?aWJueXVzdWY=?= Microsoft Outlook Calendar 1 23rd Aug 2006 03:20 PM
Islamic Calendar SYED HANIF Microsoft C# .NET 1 25th Apr 2006 12:58 PM
Outlook should support the Iranian Solar Calendar and should show. =?Utf-8?B?VGFzdWw=?= Microsoft Outlook Calendar 1 7th Feb 2005 02:09 AM
When converting to web page, my calendar dates are off. =?Utf-8?B?RW1tZUNEWA==?= Microsoft Outlook Calendar 1 20th Dec 2004 05:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:34 AM.