DATE ARITHMETIC

Oleg Broytmann phd at emerald.netskate.ru
Sun Jun 20 11:07:49 CEST 1999


On Sat, 19 Jun 1999, Ajith Prasad wrote:
> I need to do some simple date arithmetic - finding the number of days
> between any 2 days, the age of a person on a day given his birthday. The
> mxDateTime module downloadable from the Python website is more complex than
> what I need. Any other suggestions?

http://members.xoom.com/phd2/Software/Python/
http://www.fortunecity.com/skyscraper/unix/797/Software/Python/

   Download m_lib.tgz and look into opdate.py. Very simple, but powerful
enough for many tasks.

Oleg.
---- 
    Oleg Broytmann        Netskate/Inter.Net.Ru        phd at emerald.netskate.ru
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list