Number of months between 2 dates

Edis, Robert REdis@Blistex.com
Thu, 4 Sep 2003 12:21:48 -0500


What type of months?  I.e. what calendar, Gregorian (12 months of varying length), lunar (12 months of 30 days each, Baha'i (19 months of 19 days each plus 4 or 5 top-up days), other?

The former type would be VERY difficult to do in an algorithm and you probably need to create one or more lookup tables.  Calendars where the months have consistent lengths are easy.

Blue

-----Original Message-----
From: Terry Pickering [mailto:pickering@4j.lane.edu]
Sent: Thursday, September 04, 2003 11:17 AM
To: powerh-l@lists.swau.edu
Subject: Number of months between 2 dates


Does anyone have an algorithm around that would compute the number of full 
MONTHS between two dates? Example is the number of months between 7/12/1968 
and 10/8/2002.

Thanks!



____________________________
Terry Pickering

= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe <password>" in message body to powerh-l-request@lists.swau.edu
http://lists.swau.edu/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.