I need Delphi source code that will convert a Gregorian date to an Islamic date. The main routine will be a function
IslamicDate(gYY, gMM, gDD : integer; var iYY, iMM, iDD : integer);
Example: For an input of December 10, 2003:
IslamicDate(2003, 12, 10, iYY, iMM, iDD)
The var parameters will return 1424, 10, 16
The calendar date should match the dates on this website:
[url removed, login to view]
Since there is no user interface code needed it should compile in any version of Delphi.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).