> Date/time math is simply: > 1. convert date to "days since some past day" > 2. subtract xxx days > 3. convert back to original date format I think we all know that<s>
The issue is converting from the day count to the correct date allowing for leap years and whether the date includes or excludes the Feb. 29th for the year in question if it IS a leap year. Don't get me wrong. I can do the math if I have to. Just surprised I have to roll my own for people still living today. Regards, Clive Clive Walden Walden Consulting Phone: 760-632-5856 Web site: www.clivewalden.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
