From: "F. Senault" Date: 2007-03-17T00:30:05+09:00 Subject: Re: Calculating the age given DOB Le 16 mars � 11:49, Colin Bartlett a �crit : > Extending the original poster's question, as people here are aware > working in complete months in Gregorian calendars can be tricky. For > example, if you are trying to generate a series of dates at intervals > of an integer number of months (years are just 12 months) then - as > far as I'm aware - there's no "standard" way of doing it in Ruby, or > in many other computer languages for that matter. (I'd be delighted to > be contradicted: this also applies to anything else I've got wrong in Depending on what you mean with this, I believe Visual Basic (gasp ! shock ! horror !) has a DateSerial function that can overflow in any direction. If you want to know the last day of february this year, you can write DateSerial(2007, 3, 0), for instance. It's extremely useful. (And you have the same with TimeSerial, even if it's a bit less useful.) Fred -- When I was a child I had a fever. My hands felt just like two balloons. Now I got that feeling once again. I can't explain, you would not understand. This is not how I am. I have become comfortably numb. (Pink Floyd, Comfortably Numb)