# CALPAK Calendar Calculations

CALPAK is a FORTRAN90 library which computes various simple calendrical quantities.

These include converting from day-number/year to day/month/year format, calculating the time difference between two dates, finding the day of the week of a given date, and other feats.

Some common methods of marking the date include:

• JED, the Julian Ephemeris Date, a count of days since a long time ago;
• YMD, for "year, month, day";
• YJ, for "year, day number".

While there have been many calendars over the years, it is instructive to contemplate just the crazy story of our current "common" calendar. To this day, people disagree about whether there was a year 0, although the Julian calendar was a Roman invention, and Dionysius Exiguus, who gets the blame for shifting the Julian calendar's starting date to the birth year of Christ four hundred years afterwards, didn't have an accurate idea of when that was.

There was a controversial shift from the Julian to the Gregorian calendar, which took place piecemeal throughout the Catholic world, with several countries actually switching back and forth more than once, and with England holding out on the old system until after George Washington was born (which means he was born on February 11 AND February 22).

People didn't agree on when the year started, so that January and February, in particular, were a little murky about which year they belonged to, and the year sometimes started around March 22, near the vernal equinox.

There are a number of side issues, including

• determining the day of the week of a given date;
• determining the number of days between two dates;
• the computation of the date of certain holidays;

### Languages:

CALPAK is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version and a Python version.

### Related Data and Programs:

ANALEMMA, a FORTRAN90 program which evaluates the equation of time, a formula for the difference between the uniform 24 hour day and the actual position of the sun, based on a program by Brian Tung.

CALENDAR_NYT, a FORTRAN90 library which shows the correspondence between dates and the New York Times volume and issue number;

CALENDAR_RD, a C++ program which computes the representation of a given date in a number of calendrical systems, by Edward Reingold and Nachum Dershowitz

DATES, a dataset directory which contains lists of dates in various calendar systems.

DOOMSDAY, a FORTRAN90 library which is given the year, month and day of a date, and uses John Conway's doomsday algorithm to determine the corresponding day of the week.

WEEKDAY, a FORTRAN90 library which determines the day of the week for a given day.

### Reference:

1. Anonymous,
A Correction; Welcome to 51,254,
The New York Times,
01 January 2000, Volume 149, Issue 51254.
2. James Barron,
What's in a Number? 143 Years of News,
The New York Times,
14 March 1995, Volume 144, Issue 50000.
3. Bonnie Blackburn, Leofranc Holford-Stevens,
The Oxford Companion to the Year,
Oxford, 1999,
ISBN: 0192142313,
LC: CE73.B553.
4. Lewis Carroll (Charles Dodgson),
To Find the Day of the Week for Any Given Date,
Nature, 31 March 1887.
5. John Conway,
Tomorrow is the Day After Doomsday,
Eureka,
Volume 36, October 1973, pages 28-31.
6. Peter Duffett-Smith,
Third Edition,
Cambridge University Press, 1996,
ISBN: 0-521-35699-7,
LC: QB62.5.D83.
7. Donald Knuth,
The Art of Computer Programming,
Volume 1, Fundamental Algorithms,
Third Edition,
ISBN: 0201896834,
LC: QA76.6.K64.
8. Donald Knuth,
The Calculation of Easter,
Communications of the ACM,
Volume 5, Number 4, April 1962, pages 209-210.
9. Gary Meisters,
Lewis Carroll's Day-of-the-Week Algorithm,
Math Horizons,
November 2002, pages 24-25.
10. Lance Latham,
Standard C Date/Time Library,
Programming the World's Calendars and Clocks,
Miller Freeman, 1998,
ISBN: 0-87930-496-0.
11. The New York Times,
Page One, 1896-1996, A Special Commemorative Edition Celebrating the 100th Anniversary of the Purchase of the New York Times by Adolph S Ochs,
ISBN: 0-88365-961-1,
LC: D411.P25.
12. The New York Times,
The Complete First Pages, 1851-2008,
Black Dog & Leventhal Publishers, 2008,
ISBN13: 978-1-57912-749-7,
LC: D351.N53.
13. Thomas OBeirne,
Oxford University Press, 1965,
LC: QA95.O2.
14. Frank Parise, editor,
The Book of Calendars,
Gorgias, 2002,
ISBN: 1931956766,
LC: CE11.K4.
15. William Press, Brian Flannery, Saul Teukolsky, William Vetterling,
Numerical Recipes in FORTRAN: The Art of Scientific Computing,
Second Edition,
Cambridge University Press, 1992,
ISBN: 0-521-43064-X,
LC: QA297.N866.
16. Edward Reingold, Nachum Dershowitz,
Calendrical Calculations: The Millennium Edition,
Cambridge University Press, 2001,
ISBN: 0-521-77752-6,
LC: CE12.R45.
17. Edward Reingold, Nachum Dershowitz,
Calendrical Calculations I,
Software - Practice and Experience,
Volume 20, Number 9, September 1990, pages 899-928.
18. Edward Reingold, Nachum Dershowitz, Stewart Clamen,
Calendrical Calculations, II: Three Historical Calendars,
Software - Practice and Experience,
Volume 23, Number 4, pages 383-404, April 1993.
19. Edward Richards,
Mapping Time, The Calendar and Its History,
Oxford, 1999,
ISBN: 0-19-850413-6,
LC: CE11.R5.
20. Ian Stewart,
Easter is a Quasicrystal,
Scientific American,
Volume 284, Number 3, March 2001, pages 80-83.
21. Daniel Zwillinger, editor,
CRC Standard Mathematical Tables and Formulae,
30th Edition,
CRC Press, 1996,
ISBN: 0-8493-2479-3,
LC: QA47.M315.

### List of Routines:

• CH_CAP capitalizes a single character.
• CWS_TO_JED_GPS converts a GPS CWS date to a JED.
• CWS_TO_S_GPS writes a GPS CWS date into a string.
• DATENUM_TO_JED converts a MATLAB date number to a JED.
• DAY_BORROW_ALEXANDRIAN borrows days from months in an Alexandrian date.
• DAY_BORROW_COMMON borrows days from months in a Common date.
• DAY_BORROW_EG_CIVIL borrows days from months in an Egyptian Civil date.
• DAY_BORROW_ENGLISH borrows days from months in an English date.
• DAY_BORROW_GREGORIAN borrows days from months in a Gregorian date.
• DAY_BORROW_HEBREW borrows days from months in a Hebrew date.
• DAY_BORROW_ISLAMIC borrows days from months in an Islamic date.
• DAY_BORROW_JULIAN borrows days from months in a Julian date.
• DAY_BORROW_REPUBLICAN borrows days from months in a Republican date.
• DAY_BORROW_ROMAN borrows days from months in a Roman date.
• DAY_CARRY_ALEXANDRIAN carries days to months in an Alexandrian date.
• DAY_CARRY_COMMON carries days to months in a Common date.
• DAY_CARRY_EG_CIVIL carries days to months in an Egyptian Civil date.
• DAY_CARRY_ENGLISH carries days to months in an English date.
• DAY_CARRY_GREGORIAN carries days to months in a Gregorian date.
• DAY_CARRY_HEBREW carries days to months in a Hebrew date.
• DAY_CARRY_ISLAMIC carries days to months in an Islamic date.
• DAY_CARRY_JULIAN carries days to months in a Julian date.
• DAY_CARRY_REPUBLICAN carries days to months in a Republican date.
• DAY_CARRY_ROMAN carries days to months in a Roman date.
• DAY_LIST_COMMON prints a list of days between two dates.
• DAYS_BEFORE_MONTH_COMMON returns the number of days before a Common month.
• DAYS_BEFORE_MONTH_GREGORIAN: number of days before a Gregorian month.
• DAYS_BEFORE_MONTH_JULIAN returns the number of days before a Julian month.
• DEFLATE_COMMON "deflates" dates in the Common Calendar transition month.
• DEFLATE_ENGLISH "deflates" dates in the English Calendar transition month.
• DIGIT_TO_CH returns the character representation of a decimal digit.
• EASTER_DS computes the month and day of Easter for a Gregorian year.
• EASTER_EGR computes the month and day of Easter for a Common year.
• EASTER_EGR2 computes the month and day of Easter for a Common year.
• EASTER_JULIAN computes the date of Easter in the Julian calendar.
• EASTER_JULIAN2 computes the date of Easter in the Julian calendar.
• EASTER_KNUTH computes the month and day of Easter for a Gregorian year.
• EASTER_STEWART computes the month and day of Easter for a Gregorian year.
• EPOCH_TO_JED_AKBAR returns the epoch of the Akbar calendar as a JED.
• EPOCH_TO_JED_ALEXANDRIAN: epoch of the Alexandrian calendar as a JED.
• EPOCH_TO_JED_ARMENIAN returns the epoch of the Armenian calendar as a JED.
• EPOCH_TO_JED_BAHAI returns the epoch of the Bahai calendar as a JED.
• EPOCH_TO_JED_BESSEL returns the epoch of the Bessel calendar as a JED.
• EPOCH_TO_JED_CHINESE returns the epoch of the Chinese calendar as a JED.
• EPOCH_TO_JED_COMMON returns the epoch of the Common calendar as a JED.
• EPOCH_TO_JED_COPTIC returns the epoch of the Coptic calendar as a JED.
• EPOCH_TO_JED_DECCAN returns the epoch of the Fasli Deccan calendar as a JED.
• EPOCH_TO_JED_EG_CIVIL: epoch of the Egyptian Civil calendar as a JED.
• EPOCH_TO_JED_EG_LUNAR: epoch of the Egyptian Lunar calendar as a JED.
• EPOCH_TO_JED_ENGLISH returns the epoch of the English calendar as a JED.
• EPOCH_TO_JED_ETHIOPIAN returns the epoch of the Ethiopian calendar as a JED.
• EPOCH_TO_JED_GPS returns the epoch of the GPS calendar as a JED.
• EPOCH_TO_JED_GREEK returns the epoch of the Greek calendar as a JED.
• EPOCH_TO_JED_GREGORIAN returns the epoch of the Gregorian calendar as a JED.
• EPOCH_TO_JED_HEBREW returns the epoch of the Hebrew calendar as a JED.
• EPOCH_TO_JED_HINDU_LUNAR: epoch of the Hindu lunar calendar as a JED.
• EPOCH_TO_JED_HINDU_SOLAR: epoch of the Hindu solar calendar as a JED.
• EPOCH_TO_JED_ISLAMIC_A returns the epoch of the Islamic A calendar as a JED.
• EPOCH_TO_JED_ISLAMIC_B returns the epoch of the Islamic B calendar as a JED.
• EPOCH_TO_JED_JED returns the epoch of the JED as a JED.
• EPOCH_TO_JED_JELALI returns the epoch of the Jelali calendar as a JED.
• EPOCH_TO_JED_JULIAN returns the epoch of the Julian calendar as a JED.
• EPOCH_TO_JED_KHWARIZMIAN: epoch of the Khwarizmian calendar as a JED.
• EPOCH_TO_JED_MACEDONIAN: epoch of the Macedonian calendar as a JED.
• EPOCH_TO_JED_MATLAB: epoch of the "MATLAB calendar" as a JED.
• EPOCH_TO_JED_MAYAN_LONG: epoch of the Mayan long count calendar as a JED.
• EPOCH_TO_JED_MJD returns the epoch of the MJD calendar as a JED.
• EPOCH_TO_JED_NYT returns the epoch of the NYT calendar as a JED.
• EPOCH_TO_JED_PERSIAN returns the epoch of the Persian calendar as a JED.
• EPOCH_TO_JED_PERSIAN_SOLAR: epoch of the Persian solar calendar as a JED.
• EPOCH_TO_JED_RD returns the epoch of the RD calendar as a JED.
• EPOCH_TO_JED_REPUBLICAN: epoch of the Republican calendar as a JED.
• EPOCH_TO_JED_ROMAN returns the epoch of the Roman calendar as a JED.
• EPOCH_TO_JED_SAKA returns the epoch of the Saka calendar as a JED.
• EPOCH_TO_JED_SOOR_SAN: epoch of the Fasli Soor San calendar as a JED.
• EPOCH_TO_JED_SYRIAN returns the epoch of the Syrian calendar as a JED.
• EPOCH_TO_JED_UNIX returns the epoch of the UNIX calendar as a JED.
• EPOCH_TO_JED_Y2K returns the epoch of the Y2K calendar as a JED.
• EPOCH_TO_JED_ZOROASTRIAN: epoch of the Zoroastrian calendar as a JED.
• FRAC_BORROW_COMMON borrows fractions from days in a Common YMDF date.
• FRAC_BORROW_ENGLISH borrows fractions from days in an English YMDF date.
• FRAC_BORROW_GREGORIAN borrows fractions from days in a Gregorian YMDF date.
• FRAC_BORROW_HEBREW borrows fractions from days in a Hebrew YMDF date.
• FRAC_BORROW_ISLAMIC borrows fractions from days in an Islamic YMDF date.
• FRAC_BORROW_JULIAN borrows fractions from days in a Julian YMDF date.
• FRAC_BORROW_REPUBLICAN borrows fractions from days in a Republican YMDF date.
• FRAC_BORROW_ROMAN borrows fractions from days in a Roman YMDF date.
• FRAC_CARRY_COMMON carries fractions to days in a Common YMDF date.
• FRAC_CARRY_ENGLISH carries fractions to days in an English YMDF date.
• FRAC_CARRY_GREGORIAN carries fractions from days in a Gregorian YMDF date.
• FRAC_CARRY_HEBREW carries fractions from days in a Hebrew YMDF date.
• FRAC_CARRY_ISLAMIC carries fractions from days in an Islamic YMDF date.
• FRAC_CARRY_JULIAN carries fractions from days in a Julian YMDF date.
• FRAC_CARRY_REPUBLICAN carries fractions from days in a Republican YMDF date.
• FRAC_CARRY_ROMAN carries fractions to days in a Roman YMDF date.
• FRAC_TO_HMS converts a fractional day into hours, minutes, seconds.
• FRAC_TO_S writes a positive fraction into a left justified character string.
• HMS_TO_S "prints" an HMS date into a string.
• HOUR_BORROW_COMMON "borrows" a day of hours.
• HOUR_CARRY_COMMON is given a YMDH date, and carries hours to days.
• I4_MODP returns the positive remainder when I is divided by J.
• I4_SWAP swaps two integers.
• I4_TO_A returns the I-th alphabetic character.
• I4_TO_ROMAN converts an integer to a string of Roman numerals.
• I4_TO_S_LEFT converts an integer to a left-justified string.
• I4_TO_S_ZERO converts an integer to a string, with zero padding.
• I4_WRAP forces an integer to lie between given limits by wrapping.
• INFLATE_COMMON "inflates" dates in the Common Calendar transition month.
• INFLATE_ENGLISH "inflates" dates in the English Calendar transition month.
• J_BORROW_COMMON borrows year-days from years in a Common date.
• J_BORROW_ENGLISH borrows year-days from years in an English date.
• J_BORROW_GREGORIAN borrows year-days from years in a Gregorian date.
• J_BORROW_HEBREW borrows year-days from years in a Hebrew date.
• J_BORROW_ISLAMIC borrows year-days from years in an Islamic date.
• J_BORROW_JULIAN borrows year-days from years in a Julian date.
• J_BORROW_REPUBLICAN borrows year-days from years in a Republican date.
• J_BORROW_ROMAN borrows year-days from years in a Roman date.
• J_CARRY_COMMON carries year-days to years in a Common date.
• J_CARRY_ENGLISH carries year-days to years in an English date.
• J_CARRY_GREGORIAN carries year-days to years in a Gregorian date.
• J_CARRY_HEBREW carries year-days to years in a Hebrew date.
• J_CARRY_ISLAMIC carries year-days to years in an Islamic date.
• J_CARRY_JULIAN carries year-days to years in a Julian date.
• J_CARRY_REPUBLICAN carries year-days to years in a Republican date.
• J_CARRY_ROMAN carries year-days to years in a Roman date.
• JED_CHECK checks a Julian Ephemeris Date.
• JED_TEST returns some "interesting" JED's.
• JED_TO_CWS_GPS converts a JED to a GPS CWS date.
• JED_TO_DATENUM converts a JED to a MATLAB date number.
• JED_TO_MAYAN_LONG converts a JED to a Mayan long count date.
• JED_TO_MAYAN_ROUND converts a JED to a Mayan round date.
• JED_TO_MJD converts a JED to a modified JED.
• JED_TO_NEAREST_NOON converts a JED to the JED of the nearest noon.
• JED_TO_NEXT_NOON converts a JED to the JED of the next noon.
• JED_TO_NYT converts a JED to an NYT date.
• JED_TO_RD converts a JED to an RD.
• JED_TO_SS_UNIX converts a JED to a UNIX SS date.
• JED_TO_WEEKDAY computes the day of the week from a JED.
• JED_TO_YEAR_HEBREW: the year in the Hebrew calendar when a JED occurred.
• JED_TO_YEARCOUNT_BESSEL converts a JED to Bessel year count.
• JED_TO_YEARCOUNT_JULIAN converts a JED to a Julian year count.
• JED_TO_YJF_COMMON converts a JED to a Common YJF date.
• JED_TO_YJF_ENGLISH converts a JED to an English YJF date.
• JED_TO_YJF_GREGORIAN converts a JED to a Gregorian YJF date.
• JED_TO_YJF_HEBREW converts a JED to a Hebrew YJF date.
• JED_TO_YJF_ISLAMIC_A converts a JED to an Islamic-A YJF date.
• JED_TO_YJF_ISLAMIC_B converts a JED to an Islamic-B YJF date.
• JED_TO_YJF_JULIAN converts a JED to a Julian YJF date.
• JED_TO_YJF_REPUBLICAN converts a JED to a Republican YJF date.
• JED_TO_YJF_ROMAN converts a JED to a Roman YJF date.
• JED_TO_YMDF_ALEXANDRIAN converts a JED to an Alexandrian YMDF date.
• JED_TO_YMDF_ARMENIAN converts a JED to an Armenian YMDF date.
• JED_TO_YMDF_BAHAI converts a JED to a Bahai YMDF date.
• JED_TO_YMDF_COMMON converts a JED to a Common YMDF date.
• JED_TO_YMDF_COPTIC converts a JED to a Coptic YMDF date.
• JED_TO_YMDF_EG_CIVIL converts a JED to an Egyptian Civil YMDF date.
• JED_TO_YMDF_EG_LUNAR converts a JED to an Egyptian Lunar YMDF date.
• JED_TO_YMDF_ENGLISH converts a JED to an English YMDF date.
• JED_TO_YMDF_ETHIOPIAN converts a JED to an Ethiopian YMDF date.
• JED_TO_YMDF_GREGORIAN converts a JED to a Gregorian YMDF date.
• JED_TO_YMDF_GREGORIAN2 converts a JED to a Gregorian YMDF date.
• JED_TO_YMDF_HEBREW converts a JED to a Hebrew YMDF date.
• JED_TO_YMDF_HINDU_SOLAR converts a JED to a Hindu solar YMDF date.
• JED_TO_YMDF_ISLAMIC_A converts a JED to an Islamic A YMDF date.
• JED_TO_YMDF_ISLAMIC_B converts a JED to an Islamic B YMDF date.
• JED_TO_YMDF_JELALI converts a JED to a Jelali YMDF date.
• JED_TO_YMDF_JULIAN converts a JED to a Julian YMDF date.
• JED_TO_YMDF_JULIAN2 converts a JED to a Julian YMDF date.
• JED_TO_YMDF_JULIAN3 converts a JED to a Julian YMDF date.
• JED_TO_YMDF_KHWARIZMIAN converts a JED to a Khwarizmian YMDF date.
• JED_TO_YMDF_MACEDONIAN converts a JED to a Macedonian YMDF date.
• JED_TO_YMDF_PERSIAN converts a JED to a Persian YMDF date.
• JED_TO_YMDF_REPUBLICAN converts a JED to a Republican YMDF date.
• JED_TO_YMDF_ROMAN converts a JED to a Roman YMDF date.
• JED_TO_YMDF_SAKA converts a JED to a Saka YMDF date.
• JED_TO_YMDF_SOOR_SAN converts a JED to a Soor San YMDF date.
• JED_TO_YMDF_SYRIAN converts a JED to a Syrian YMDF date.
• JED_TO_YMDF_ZOROASTRIAN converts a JED to a Zoroastrian YMDF date.
• JED_TO_YMDHMS_COMMON converts a JED to a Common YMDHMS date.
• LOWER returns a lowercase version of a string.
• MAYAN_LONG_TO_JED converts a Mayan long date to a JED.
• MAYAN_ROUND_TO_JED converts a Mayan round date to a JED.
• MINUTE_BORROW_COMMON "borrows" an hour of minutes in a Common date.
• MINUTE_CARRY_COMMON: given a Common YMDHMS date, carries minutes to hours.
• MJD_TO_JED converts a modified JED to a JED.
• MONTH_BORROW_ALEXANDRIAN borrows a year of months on Alexandrian calendar.
• MONTH_BORROW_BAHAI borrows a year of months on the Bahai calendar.
• MONTH_BORROW_COMMON borrows a year of months on the Common calendar.
• MONTH_BORROW_EG_CIVIL borrows a year of months on Egyptian Civil calendar.
• MONTH_BORROW_ENGLISH borrows a year of months on the English calendar.
• MONTH_BORROW_GREGORIAN borrows a year of months on the Gregorian calendar.
• MONTH_BORROW_HEBREW borrows a year of months on the Hebrew calendar.
• MONTH_BORROW_ISLAMIC borrows a year of months on the Islamic calendar.
• MONTH_BORROW_JULIAN borrows a year of months on the Julian calendar.
• MONTH_BORROW_REPUBLICAN borrows a year of months on the Republican calendar.
• MONTH_BORROW_ROMAN borrows a year of months on the Roman calendar.
• MONTH_CAL_COMMON prints a Common month calendar.
• MONTH_CAL_ENGLISH prints an English month calendar.
• MONTH_CAL_GREGORIAN prints a Gregorian month calendar.
• MONTH_CAL_HEBREW prints a Hebrew month calendar.
• MONTH_CAL_ISLAMIC_A prints an Islamic-A month calendar.
• MONTH_CAL_JULIAN prints a Julian month calendar.
• MONTH_CAL_REPUBLICAN prints a Republican month calendar.
• MONTH_CAL_ROMAN prints a Roman month calendar.
• MONTH_CAL_STORE_COMMON stores a Common month calendar.
• MONTH_CARRY_ALEXANDRIAN carries a year of months on the Alexandrian calendar.
• MONTH_CARRY_BAHAI carries a year of months on the Bahai calendar.
• MONTH_CARRY_COMMON carries a year of months on the Common calendar.
• MONTH_CARRY_EG_CIVIL carries a year of months on the Egyptian Civil calendar.
• MONTH_CARRY_ENGLISH carries a year of months on the English calendar.
• MONTH_CARRY_GREGORIAN carries a year of months on the Gregorian calendar.
• MONTH_CARRY_HEBREW carries a year of months on the Hebrew calendar.
• MONTH_CARRY_ISLAMIC carries a year of months on the Islamic calendar.
• MONTH_CARRY_JULIAN carries a year of months on the Julian calendar.
• MONTH_CARRY_REPUBLICAN carries a year of months on the Republican calendar.
• MONTH_CARRY_ROMAN carries a year of months on the Roman calendar.
• MONTH_LENGTH_ALEXANDRIAN returns the number of days in an Alexandrian month.
• MONTH_LENGTH_BAHAI returns the number of days in a Bahai month.
• MONTH_LENGTH_COMMON returns the number of days in a Common month.
• MONTH_LENGTH_COPTIC returns the number of days in a Coptic month.
• MONTH_LENGTH_EG_CIVIL returns the number of days in an Egyptian Civil month.
• MONTH_LENGTH_EG_LUNAR returns the number of days in an Egyptian Lunar month.
• MONTH_LENGTH_ENGLISH returns the number of days in an English month.
• MONTH_LENGTH_ETHIOPIAN returns the number of days in an Ethiopian month.
• MONTH_LENGTH_GREEK returns the number of days in a Greek month.
• MONTH_LENGTH_GREGORIAN returns the number of days in a Gregorian month.
• MONTH_LENGTH_HEBREW returns the number of days in a Hebrew month.
• MONTH_LENGTH_HINDU_SOLAR returns the number of days in a Hindu solar month.
• MONTH_LENGTH_IRANIAN returns the number of days in an Iranian month.
• MONTH_LENGTH_ISLAMIC returns the number of days in an Islamic month.
• MONTH_LENGTH_JULIAN returns the number of days in a Julian month.
• MONTH_LENGTH_LUNAR returns the number of days in a lunar month.
• MONTH_LENGTH_PERSIAN returns the number of days in a Persian month.
• MONTH_LENGTH_REPUBLICAN returns the number of days in a Republican month.
• MONTH_LENGTH_ROMAN returns the number of days in a Roman month.
• MONTH_LENGTH_SYNODIC returns the mean synodic month length.
• MONTH_NAME_TO_MONTH_COMMON returns the month number of a Common month
• MONTH_TO_IDES_ROMAN returns the day of the ides of a Roman month.
• MONTH_TO_MONTH_NAME_BAHAI returns the name of a Bahai month.
• MONTH_TO_MONTH_NAME_COMMON returns the name of a Common month.
• MONTH_TO_MONTH_NAME_COMMON3 returns an abbreviation of a Common month.
• MONTH_TO_MONTH_NAME_COPTIC returns the name of a Coptic month.
• MONTH_TO_MONTH_NAME_EG_CIVIL returns the name of an Egyptian Civil month.
• MONTH_TO_MONTH_NAME_EG_LUNAR returns the name of an Egyptian Lunar month.
• MONTH_TO_MONTH_NAME_ETHIOPIAN returns the name of an Ethiopian month.
• MONTH_TO_MONTH_NAME_GREEK returns the name of a Greek month.
• MONTH_TO_MONTH_NAME_HEBREW returns the name of a Hebrew month.
• MONTH_TO_MONTH_NAME_HINDU_LUNAR returns the name of a Hindu lunar month.
• MONTH_TO_MONTH_NAME_HINDU_SOLAR returns the name of a Hindu solar month.
• MONTH_TO_MONTH_NAME_IRANIAN returns the name of an Iranian month.
• MONTH_TO_MONTH_NAME_ISLAMIC returns the name of an Islamic month.
• MONTH_TO_MONTH_NAME_PERSIAN returns the name of a Persian month.
• MONTH_TO_MONTH_NAME_REPUBLICAN returns the name of a Republican month.
• MONTH_TO_MONTH_NAME_ROMAN returns the name of a Roman month.
• MONTH_TO_MONTH_NAME_SOOR_SAN returns the name of a Soor San month.
• MONTH_TO_MONTH_NAME_ZOROASTRIAN returns the name of a Zoroastrian month.
• MONTH_TO_NONES_ROMAN returns the day of the nones of a Roman month.
• MOON_PHASE_TO_JED calculates the JED of a moon phase.
• MOTHERS_DAY computes the date of Mother's Day (US) for a Common year.
• NEW_YEAR_TO_JED_HEBREW returns the JED of the beginning of a Hebrew year.
• NOW_TO_JED expresses the current date as JED.
• NOW_TO_YJF_COMMON expresses the current date as a Common YJF date.
• NOW_TO_YMDF_COMMON expresses the current date as a Common YMDF date.
• NOW_TO_YMDHMS_COMMON expresses the current date as a Common YMDHMS date.
• NYT_TO_JED converts an NYT date to a JED.
• NYT_TO_YMD converts an NYT date to a YMD date.
• R8_SWAP switches two R8's.
• R8_TO_S_LEFT writes an R8 into a left justified string.
• R8_UNIFORM returns a scaled pseudorandom R8.
• RANDOM_INITIALIZE initializes the FORTRAN 90 random number seed.
• RD_TO_JED converts an RD to a JED.
• S_CAP replaces any lowercase letters by uppercase ones in a string.
• S_CAT concatenates two strings to make a third string.
• S_CAT1 concatenates two strings, with a single blank separator.
• S_EQI is a case insensitive comparison of two strings for equality.
• S_TO_HMS converts a string into a H:M:S date.
• S_TO_I4 reads an I4 from a string.
• S_TO_YMD_COMMON converts a string into a Common YMD date.
• S_TO_YMDHMS_COMMON converts a string into a Common YMD H:M:S date.
• SECOND_BORROW_COMMON "borrows" a minute of seconds in a common date.
• SECOND_CARRY_COMMON: given a Common YMDHMS date, carries seconds to minutes.
• SS_TO_JED_UNIX converts a UNIX SS date to a JED.
• THANKSGIVING_US computes the date of Thanksgiving (US) for a Common year.
• TIMESTAMP prints the current YMDHMS date as a time stamp.
• TRANSITION_TO_JED_COMMON returns the Common calendar transition as a JED.
• TRANSITION_TO_JED_ENGLISH returns the English calendar transition as a JED.
• TRANSITION_TO_JED_JED returns the JED calendar transition as a JED.
• TRANSITION_TO_JED_MAYAN_LONG: Mayan long count calendar transition as a JED.
• WEEKDAY_CHECK_COMMON makes sure the Common weekday number is between 1 and 7.
• WEEKDAY_TO_NAME_BAHAI returns the name of a Bahai weekday.
• WEEKDAY_TO_NAME_COMMON returns the name of a Common weekday.
• WEEKDAY_TO_NAME_COMMON2 returns the abbreviated name of a Common weekday.
• WEEKDAY_TO_NAME_COMMON3 returns the abbreviated name of a Common weekday.
• WEEKDAY_TO_NAME_FRENCH returns the name of a French weekday.
• WEEKDAY_TO_NAME_GERMAN returns the name of a German weekday.
• WEEKDAY_TO_NAME_HEBREW returns the name of a Hebrew weekday.
• WEEKDAY_TO_NAME_ISLAMIC returns the name of an Islamic weekday.
• WEEKDAY_TO_NAME_ITALIAN returns the name of an Italian weekday.
• WEEKDAY_TO_NAME_REPUBLICAN returns the name of a Republican weekday.
• WEEKDAY_TO_NAME_ROMAN returns the name of a Roman weekday.
• Y_ASTRONOMICAL_TO_COMMON converts an Astronomical year to a Common year.
• Y_CHECK_ALEXANDRIAN checks an Alexandrian year.
• Y_CHECK_BAHAI checks a Bahai year.
• Y_CHECK_COMMON checks a Common year.
• Y_CHECK_EG_CIVIL checks an Egyptian Civil year.
• Y_CHECK_ENGLISH checks an English year.
• Y_CHECK_GREEK checks a Greek year.
• Y_CHECK_GREGORIAN checks a Gregorian year.
• Y_CHECK_HEBREW checks a Hebrew year.
• Y_CHECK_ISLAMIC checks an Islamic year.
• Y_CHECK_JULIAN checks a Julian year.
• Y_CHECK_REPUBLICAN checks a Republican year.
• Y_CHECK_ROMAN checks a Roman year.
• Y_COMMON_TO_ASTRONOMICAL converts a Common year to an Astronomical year.
• Y_JULIAN_TO_ROMAN converts a Julian year to a Roman year.
• Y_ROMAN_TO_JULIAN converts a Roman year to a Julian year.
• Y_TO_S writes a year into a string.
• Y_TO_S_ALEXANDRIAN writes an Alexandrian year into a string.
• Y_TO_S_BAHAI writes a Bahai year into a string.
• Y_TO_S_COMMON writes a Common year into a string.
• Y_TO_S_COPTIC writes a Coptic year into a string.
• Y_TO_S_EG_CIVIL writes an Egyptian Civil year into a string.
• Y_TO_S_EG_LUNAR writes an Egyptian Lunar year into a string.
• Y_TO_S_ENGLISH writes an English year into a string.
• Y_TO_S_ETHIOPIAN writes an Ethiopian year into a string.
• Y_TO_S_GREEK writes a Greek year into a string.
• Y_TO_S_GREGORIAN writes a Gregorian year into a string.
• Y_TO_S_HEBREW writes a Hebrew year into a string.
• Y_TO_S_ISLAMIC writes an Islamic year into a string.
• Y_TO_S_JULIAN writes a Julian year into a string.
• Y_TO_S_PERSIAN writes a Persian year into a string.
• Y_TO_S_REPUBLICAN writes a Republican year into a string.
• Y_TO_S_ROMAN writes a Roman year into a string.
• YEAR_CAL_COMMON prints out a calendar for a Common year.
• YEAR_IS_EMBOLISMIC_EG_LUNAR: TRUE if the Egyptian Lunar year was embolismic.
• YEAR_IS_EMBOLISMIC_GREEK returns TRUE if the Greek year was embolismic.
• YEAR_IS_EMBOLISMIC_HEBREW returns TRUE if the Hebrew year was embolismic.
• YEAR_IS_LEAP_ALEXANDRIAN: TRUE if the Alexandrian year was a leap year.
• YEAR_IS_LEAP_BAHAI returns TRUE if the Bahai year was a leap year.
• YEAR_IS_LEAP_COMMON returns TRUE if the Common year was a leap year.
• YEAR_IS_LEAP_COPTIC returns TRUE if the Coptic year was a leap year.
• YEAR_IS_LEAP_EG_LUNAR: TRUE if the Egyptian Lunar year was a leap year.
• YEAR_IS_LEAP_ENGLISH returns TRUE if the English year was a leap year.
• YEAR_IS_LEAP_ETHIOPIAN returns TRUE if the Ethiopian year was a leap year.
• YEAR_IS_LEAP_GREEK returns TRUE if the Greek year was a leap year.
• YEAR_IS_LEAP_GREGORIAN returns TRUE if the Gregorian year was a leap year.
• YEAR_IS_LEAP_IRANIAN returns TRUE if the Iranian year was a leap year.
• YEAR_IS_LEAP_ISLAMIC returns TRUE if the Islamic year was a leap year.
• YEAR_IS_LEAP_JULIAN returns TRUE if the Julian year was a leap year.
• YEAR_IS_LEAP_PERSIAN returns TRUE if the Persian year was a leap year.
• YEAR_IS_LEAP_REPUBLICAN returns TRUE if the Republican year was a leap year.
• YEAR_IS_LEAP_ROMAN returns TRUE if the Roman year was a leap year.
• YEAR_LENGTH_ALEXANDRIAN returns the number of days in an Alexandrian year.
• YEAR_LENGTH_BAHAI returns the number of days in a Bahai year.
• YEAR_LENGTH_COMMON returns the number of days in a Common year.
• YEAR_LENGTH_COPTIC returns the number of days in a Coptic year.
• YEAR_LENGTH_EG_CIVIL returns the number of days in an Egyptian Civil year.
• YEAR_LENGTH_EG_LUNAR returns the number of days in an Egyptian Lunar year.
• YEAR_LENGTH_ENGLISH returns the number of days in an English year.
• YEAR_LENGTH_ETHIOPIAN returns the number of days in an Ethiopian year.
• YEAR_LENGTH_GREEK returns the number of days in a Greek year.
• YEAR_LENGTH_GREGORIAN returns the number of days in a Gregorian year.
• YEAR_LENGTH_HEBREW returns the number of days in a Hebrew year.
• YEAR_LENGTH_HINDU_SOLAR returns the number of days in a Hindu solar year.
• YEAR_LENGTH_ISLAMIC returns the number of days in an Islamic year.
• YEAR_LENGTH_JULIAN returns the number of days in a Julian year.
• YEAR_LENGTH_LUNAR returns the number of days in a "lunar year".
• YEAR_LENGTH_MONTHS_ALEXANDRIAN: number of months in an Alexandrian year.
• YEAR_LENGTH_MONTHS_BAHAI returns the number of months in a Bahai year.
• YEAR_LENGTH_MONTHS_COMMON returns the number of months in a Common year.
• YEAR_LENGTH_MONTHS_COPTIC returns the number of months in a Coptic year.
• YEAR_LENGTH_MONTHS_EG_CIVIL: number of months in an Egyptian Civil year.
• YEAR_LENGTH_MONTHS_EG_LUNAR: number of months in an Egyptian Lunar year.
• YEAR_LENGTH_MONTHS_ENGLISH returns the number of months in an English year.
• YEAR_LENGTH_MONTHS_ETHIOPIAN: number of months in an Ethiopian year.
• YEAR_LENGTH_MONTHS_GREEK returns the number of months in a Greek year.
• YEAR_LENGTH_MONTHS_GREGORIAN: number of months in a Gregorian year.
• YEAR_LENGTH_MONTHS_HEBREW returns the number of months in a Hebrew year.
• YEAR_LENGTH_MONTHS_HINDU_LUNAR: number of months in a Hindu lunar year.
• YEAR_LENGTH_MONTHS_HINDU_SOLAR: number of months in a Hindu solar year.
• YEAR_LENGTH_MONTHS_ISLAMIC returns the number of months in an Islamic year.
• YEAR_LENGTH_MONTHS_JULIAN returns the number of months in a Julian year.
• YEAR_LENGTH_MONTHS_PERSIAN returns the number of months in a Persian year.
• YEAR_LENGTH_MONTHS_REPUBLICAN: number of months in a Republican year.
• YEAR_LENGTH_MONTHS_ROMAN returns the number of months in a Roman year.
• YEAR_LENGTH_PERSIAN returns the number of days in a Persian year.
• YEAR_LENGTH_REPUBLICAN returns the number of days in a Republican year.
• YEAR_LENGTH_ROMAN returns the number of days in a Roman year.
• YEAR_LENGTH_SOLAR returns the number of days in a "solar" year.
• YEAR_TO_DOMINICAL_COMMON: dominical numbers, Common calendar.
• YEAR_TO_DOMINICAL_GREGORIAN: dominical numbers, Gregorian calendar.
• YEAR_TO_DOMINICAL_JULIAN: dominical numbers, Julian calendar.
• YEAR_TO_EPACT_GREGORIAN returns the epact of a Gregorian year.
• YEAR_TO_EPACT_JULIAN returns the epact of a Julian year.
• YEAR_TO_GOLDEN_NUMBER returns the golden number of a Common year.
• YEAR_TO_INDICTION_COMMON returns the indiction number of a Common year.
• YEAR_TO_SCALIGER_COMMON converts a Common year to its Scaliger indices.
• YEAR_TO_TYPE_HEBREW returns the type of a Hebrew year.
• YJ_CHECK_COMMON checks a Common YJ date.
• YJ_CHECK_ENGLISH checks an English YJ date.
• YJ_CHECK_GREGORIAN checks a Gregorian YJ date.
• YJ_CHECK_HEBREW checks a Hebrew YJ date.
• YJ_CHECK_ISLAMIC checks an Islamic YJ date.
• YJ_CHECK_JULIAN checks a Julian YJ date.
• YJ_CHECK_REPUBLICAN checks a Republican YJ date.
• YJ_CHECK_ROMAN checks a Roman YJ date.
• YJ_TO_S_COMMON writes a Common YJ date into a string.
• YJ_TO_S_ENGLISH writes an English YJ date into a string.
• YJ_TO_S_GREGORIAN writes a Gregorian YJ date into a string.
• YJ_TO_S_HEBREW writes a Hebrew YJ date into a string.
• YJ_TO_S_ISLAMIC writes an Islamic YJ date into a string.
• YJ_TO_S_JULIAN writes a Julian YJ date into a string.
• YJ_TO_S_NUMERIC "prints" a YJ date into a string.
• YJ_TO_S_REPUBLICAN writes a Republican YJ date into a string.
• YJ_TO_S_ROMAN writes a Roman YJ date into a string.
• YJF_CHECK_COMMON normalizes a Common YJF date.
• YJF_CHECK_ENGLISH normalizes an English YJF date.
• YJF_COMPARE compares two YJF dates.
• YJF_DIF_COMMON computes day difference between two Common YJF dates.
• YJF_SWAP swaps the data defining two YJF dates.
• YJF_TO_JED_COMMON converts a Common YJF date to a JED.
• YJF_TO_JED_ENGLISH converts an English YJF date to a JED.
• YJF_TO_JED_GREGORIAN converts a Gregorian YJF date to a JED.
• YJF_TO_JED_HEBREW converts a Hebrew YJF date to a JED.
• YJF_TO_JED_ISLAMIC_A converts an Islamic-A YJF date to a JED.
• YJF_TO_JED_ISLAMIC_B converts an Islamic-B YJF date to a JED.
• YJF_TO_JED_JULIAN converts a Julian YJF date to a JED.
• YJF_TO_JED_REPUBLICAN converts a Republican YJF date to a JED.
• YJF_TO_JED_ROMAN converts a Roman YJF date to a JED.
• YJF_TO_S_COMMON "prints" a Common YJF date into a string.
• YJF_TO_S_ENGLISH writes an English YJF date into a string.
• YJF_TO_S_GREGORIAN writes a Gregorian YJF date into a string.
• YJF_TO_S_HEBREW writes a Hebrew YJF date into a string.
• YJF_TO_S_ISLAMIC writes an Islamic YJF date into a string.
• YJF_TO_S_JULIAN writes a Julian YJF date into a string.
• YJF_TO_S_REPUBLICAN writes a Republican YJF date into a string.
• YJF_TO_S_ROMAN writes a Roman YJF date into a string.
• YJF_TO_WEEKDAY_COMMON returns the weekday of a Common YJF date.
• YJF_TO_YMDF_COMMON converts a Common date from YJF to YMDF format.
• YJF_TO_YMDF_ENGLISH converts an English date from YJF to YMDF format.
• YJF_TO_YMDF_GREGORIAN converts a Gregorian date from YJF to YMDF format.
• YJF_TO_YMDF_HEBREW converts a YJF to YMDF date, both in the Hebrew calendar.
• YJF_TO_YMDF_ISLAMIC: YJF to YMDF date, both in the Islamic calendar.
• YJF_TO_YMDF_JULIAN converts a YJF to YMDF date, both in the Julian calendar.
• YJF_TO_YMDF_REPUBLICAN: YJF to YMDF date in the Republican calendar.
• YJF_TO_YMDF_ROMAN converts a YJF to YMDF date in the Roman calendar.
• YJF_TO_YMDHMS_COMMON converts a Common YJF date to a YMDHMS date.
• YJF_UNIFORM_COMMON picks a random Common YJF date between two given dates.
• YM_CHECK_ALEXANDRIAN checks an Alexandrian YM date.
• YM_CHECK_BAHAI checks a Bahai YM date.
• YM_CHECK_COMMON checks a Common YM date.
• YM_CHECK_EG_CIVIL checks an Egyptian Civil YM date.
• YM_CHECK_ENGLISH checks an English YM date.
• YM_CHECK_GREGORIAN checks a Gregorian YM date.
• YM_CHECK_HEBREW checks a Hebrew YM date.
• YM_CHECK_ISLAMIC checks an Islamic YM date.
• YM_CHECK_JULIAN checks a Julian YM date.
• YM_CHECK_REPUBLICAN checks a Republican YM date.
• YM_CHECK_ROMAN checks a Roman YM date.
• YM_TO_DECIMAL converts a Y/M date to a Decimal Y.F date.
• YMD_CHECK_ALEXANDRIAN checks an Alexandrian YMD date.
• YMD_CHECK_COMMON checks a Common YMD date.
• YMD_CHECK_EG_CIVIL checks an Egyptian Civil YMD date.
• YMD_CHECK_ENGLISH checks an English YMD date.
• YMD_CHECK_GREGORIAN checks a Gregorian YMD date.
• YMD_CHECK_HEBREW checks a Hebrew YMD date.
• YMD_CHECK_ISLAMIC checks an Islamic YMD date.
• YMD_CHECK_JULIAN checks a Julian YMD date.
• YMD_CHECK_REPUBLICAN checks a Republican YMD date.
• YMD_CHECK_ROMAN checks a Roman YMD date.
• YMD_COMPARE compares two YMD dates.
• YMD_DIF_COMMON gets the day difference between two Common YMD dates.
• YMD_INC_YMD_COMMON increments a Common YMD date by a YMD increment.
• YMD_TO_DECIMAL converts a Y/M/D date to a Decimal Y.F date.
• YMD_TO_JED_COMMON converts a Common YMD date to a JED.
• YMD_TO_JED_GREGORIAN converts a Gregorian YMD date to a JED.
• YMD_TO_JED_JULIAN converts a Julian YMD date to a JED.
• YMD_TO_NYT converts a YMD date to an NYT date.
• YMD_TO_S_ALEXANDRIAN "prints" an Alexandrian YMD date into a string.
• YMD_TO_S_COMMON writes a Common YMD date into a string.
• YMD_TO_S_EG_CIVIL "prints" an Egyptian Civil YMD date into a string.
• YMD_TO_S_EG_LUNAR "prints" an Egyptian Lunar YMD date into a string.
• YMD_TO_S_ENGLISH writes an English YMD date into a string.
• YMD_TO_S_GREGORIAN writes a Gregorian YMD date into a string.
• YMD_TO_S_HEBREW "prints" a Hebrew YMD date into a string.
• YMD_TO_S_ISLAMIC writes an Islamic YMD date into a string.
• YMD_TO_S_JULIAN writes a Julian YMD date into a string.
• YMD_TO_S_NUMERIC writes a YMD date into a string.
• YMD_TO_S_REPUBLICAN writes a Republican YMD date into a string.
• YMD_TO_S_ROMAN writes a Roman YMD date into a string.
• YMD_TO_WEEKDAY_COMMON returns the weekday of a Common YMD date.
• YMDF_CHECK_COMMON checks a Common YMDF date.
• YMDF_CHECK_ENGLISH checks an English YMDF date.
• YMDF_CHECK_GREGORIAN checks a Gregorian YMDF date.
• YMDF_CHECK_HEBREW checks a Hebrew YMDF date.
• YMDF_CHECK_ISLAMIC checks an Islamic YMDF date.
• YMDF_CHECK_JULIAN checks a Julian YMDF date.
• YMDF_CHECK_REPUBLICAN checks a Republican YMDF date.
• YMDF_CHECK_ROMAN checks a Roman YMDF date.
• YMDF_COMPARE compares two YMDF dates.
• YMDF_DIF_COMMON gets the day difference between two Common YMDF dates.
• YMDF_DIF_ENGLISH gets the day difference between two English YMDF dates.
• YMDF_DIF_YMDF_COMMON gets the YMDF difference between two Common YMDF dates.
• YMDF_INC_COMMON increments a Common YMDF date by DAYS days.
• YMDF_INC_ENGLISH increments an English YMDF date by DAYS days.
• YMDF_INC_GREGORIAN increments a Gregorian YMDF date by DAYS days.
• YMDF_INC_HEBREW increments a Hebrew YMDF date by DAYS days.
• YMDF_INC_ISLAMIC increments an Islamic YMDF date by DAYS days.
• YMDF_INC_JULIAN increments a Julian YMDF date by DAYS days.
• YMDF_INC_REPUBLICAN increments a Republican YMDF date by DAYS days.
• YMDF_INC_ROMAN increments a Roman YMDF date by a DAYS days.
• YMDF_NEXT_COMMON returns the Common YMDF date of the next day.
• YMDF_NEXT_ENGLISH returns the English YMD date of the next day.
• YMDF_NEXT_GREGORIAN returns the Gregorian YMDF date of the next day.
• YMDF_NEXT_HEBREW returns the Hebrew YMDF date of the next day.
• YMDF_NEXT_ISLAMIC returns the Islamic YMDF date of the next day.
• YMDF_NEXT_JULIAN returns the Julian YMDF date of the next day.
• YMDF_NEXT_REPUBLICAN returns the Republican YMD date of the next day.
• YMDF_NEXT_ROMAN returns the Roman YMDF date of the next day.
• YMDF_PREV_COMMON returns the Common YMDF date of the previous day.
• YMDF_PREV_ENGLISH returns the English YMDF date of the previous day.
• YMDF_PREV_GREGORIAN returns the Gregorian YMDF date of the previous day.
• YMDF_PREV_HEBREW returns the Hebrew YMDF date of the previous day.
• YMDF_PREV_ISLAMIC returns the Islamic YMDF date of the previous day.
• YMDF_PREV_JULIAN returns the Julian YMDF date of the previous day.
• YMDF_PREV_REPUBLICAN returns the Republican YMDF date of the previous day.
• YMDF_PREV_ROMAN returns the Roman YMDF date of the previous day.
• YMDF_SWAP swaps two YMDF dates.
• YMDF_TO_JED_ALEXANDRIAN converts an Alexandrian YMDF date to a JED.
• YMDF_TO_JED_ARMENIAN converts an Armenian YMDF date to a JED.
• YMDF_TO_JED_BAHAI converts a Bahai YMDF date to a JED.
• YMDF_TO_JED_COMMON converts a Common YMDF date to a JED.
• YMDF_TO_JED_COPTIC converts a Coptic YMDF date to a JED.
• YMDF_TO_JED_EG_CIVIL converts an Egyptian Civil YMDF date to a JED.
• YMDF_TO_JED_EG_LUNAR converts an Egyptian Lunar YMDF date to a JED.
• YMDF_TO_JED_ENGLISH converts an English YMDF date to a JED.
• YMDF_TO_JED_ETHIOPIAN converts an Ethiopian YMDF date to a JED.
• YMDF_TO_JED_GREGORIAN converts a Gregorian YMDF date to a JED.
• YMDF_TO_JED_HEBREW converts a Hebrew YMDF date to a JED.
• YMDF_TO_JED_HINDU_SOLAR converts a Hindu solar YMDF date to a JED.
• YMDF_TO_JED_ISLAMIC_A converts an Islamic A YMDF date to a JED.
• YMDF_TO_JED_ISLAMIC_A2 converts an Islamic A YMDF date to a JED.
• YMDF_TO_JED_ISLAMIC_B converts an Islamic B YMDF date to a JED.
• YMDF_TO_JED_JELALI converts a Jelali YMDF date to a JED.
• YMDF_TO_JED_JULIAN converts a Julian YMDF date to a JED.
• YMDF_TO_JED_JULIAN2 converts a Julian YMDF date to a JED.
• YMDF_TO_JED_KHWARIZMIAN converts a Khwarizmian YMDF date to a JED.
• YMDF_TO_JED_MACEDONIAN converts a Macedonian YMDF date to a JED.
• YMDF_TO_JED_PERSIAN converts a Persian YMDF date to a JED.
• YMDF_TO_JED_REPUBLICAN converts a Republican YMDF date to a JED.
• YMDF_TO_JED_ROMAN converts a Roman YMDF date to a JED.
• YMDF_TO_JED_SAKA converts a Saka YMDF date to a JED.
• YMDF_TO_JED_SOOR_SAN converts a Soor San YMDF date to a JED.
• YMDF_TO_JED_SYRIAN converts a Syrian YMDF date to a JED.
• YMDF_TO_JED_ZOROASTRIAN converts a Zoroastrian YMDF date to a JED.
• YMDF_TO_S_COMMON writes a Common YMDF date into a string.
• YMDF_TO_S_ENGLISH writes an English YMDF date into a string.
• YMDF_TO_S_GREGORIAN writes a Gregorian YMDF date into a string.
• YMDF_TO_S_HEBREW "prints" a Hebrew YMDF date into a string.
• YMDF_TO_S_ISLAMIC writes an Islamic YMDF date into a string.
• YMDF_TO_S_JULIAN writes a Julian YMDF date into a string.
• YMDF_TO_S_NUMERIC writes a YMDF date into a string.
• YMDF_TO_S_REPUBLICAN writes a Republican YMDF date into a string.
• YMDF_TO_S_ROMAN writes a Roman YMDF date into a string.
• YMDF_TO_WEEK_COMMON returns the week number for a Common YMDF date.
• YMDF_TO_WEEKDAY_COMMON returns the weekday of a Common YMDF date.
• YMDF_TO_WEEKDAY_ENGLISH returns the weekday of an English YMDF date.
• YMDF_TO_WEEKDAY_ENGLISH2 returns the weekday of an English YMDF date.
• YMDF_TO_WEEKDAY_GREGORIAN returns the weekday of a Gregorian YMDF date.
• YMDF_TO_WEEKDAY_GREGORIAN2 returns the weekday of a Gregorian YMDF date.
• YMDF_TO_WEEKDAY_GREGORIAN3 returns the weekday of a Gregorian YMDF date.
• YMDF_TO_WEEKDAY_GREGORIAN4 returns the weekday of a Gregorian YMDF date.
• YMDF_TO_WEEKDAY_GREGORIAN5 returns the weekday of a Gregorian YMDF date.
• YMDF_TO_WEEKDAY_HEBREW returns the weekday of a Hebrew YMDF date.
• YMDF_TO_WEEKDAY_ISLAMIC_A returns the weekday of an Islamic A YMDF date.
• YMDF_TO_WEEKDAY_JULIAN computes the weekday of a Julian YMDF date.
• YMDF_TO_WEEKDAY_JULIAN2 returns the weekday of a Julian YMDF date.
• YMDF_TO_WEEKDAY_JULIAN3 returns the week day of a Julian YMD date.
• YMDF_TO_WEEKDAY_REPUBLICAN returns the weekday of a Republican YMDF date.
• YMDF_TO_YJF_COMMON converts from YMDF to YJF form in the Common calendar.
• YMDF_TO_YJF_ENGLISH converts from YMDF to YJF form in the English calendar.
• YMDF_TO_YJF_GREGORIAN: YMDF to YJF form in the Gregorian calendar.
• YMDF_TO_YJF_HEBREW converts from YMDF to YJF form in the Hebrew calendar.
• YMDF_TO_YJF_ISLAMIC converts from YMDF to YJF form in the Islamic calendar.
• YMDF_TO_YJF_JULIAN converts from YMDF to YJF form in the Julian calendar.
• YMDF_TO_YJF_REPUBLICAN: YMDF to YJF form in the Republican calendar.
• YMDF_TO_YJF_ROMAN converts from YMDF to YJF form in the Roman calendar.
• YMDF_TO_YMDHMS_COMMON converts from YMDF to YMDHMS in the Common calendar.
• YMDF_UNIFORM_COMMON picks a random Common YMDF date between two given dates.
• YMDF_UNIFORM_ENGLISH: random English YMDF date between two given dates.
• YMDHMS_CHECK_COMMON checks a Common YMDHMS date.
• YMDHMS_COMPARE compares two YMDHMS dates.
• YMDHMS_DIF_DHMS computes the DHMS difference between two YMDHMS dates.
• YMDHMS_SWAP swaps the data defining two YMDHMS dates.
• YMDHMS_TO_DECIMAL converts a YMDHMS date to a Decimal Y.F date.
• YMDHMS_TO_JED_COMMON converts a Common YMDHMS date to a JED.
• YMDHMS_TO_S_COMMON "prints" a Common YMDHMS date into a string.
• YMDHMS_TO_YJF_COMMON converts a YMDHMS date to a YJF date.
• YMDHMS_TO_YMDF_COMMON converts a YMDHMS date to a YMDF date.
• YMDHMS_UNIFORM_COMMON: random Common YMDHMS date between two given dates.

You can go up one level to the FORTRAN90 source codes.

Last revised on 13 October 2012.