[Newbie] How to make the difference beetween 2 dates... ?

Christophe Prevost ommadawn at club-internet.fr
Tue Nov 14 14:00:10 CET 2000


I have a month and a year and i want to know if this date is 2 months old
from now
In PHP it's quite simple : $TwoMonthAgo = MkTime(0, 0, 0, $Month-2, $Day,

but in python mktime doesn't seem to work in the same way...

Can U Help?

More information about the Python-list mailing list