En Sat, 08 Dec 2007 14:37:13 -0300, Pierre Quentel  
<[EMAIL PROTECTED]> escribió:

> I understand that there is no possible conversion from a number of
> days to a (X,Y,Z) tuple of (years,months,days), and the reverse. But
> the difference between 2 dates can be unambiguously expressed as
> (X,Y,Z), and given a start date and an interval (X,Y,Z) you can also
> find the end date unambiguously, provided the arguments are valid (for
> instance, 1 month after the 30th of January is not valid)

As a side note, the "legal date reckoning" in Argentina considers that  
case too: 1 month after the 30th of January is Feb 28 (or 29 on leap  
years); 1 month after March 31 is April 30.

-- 
Gabriel Genellina

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to