date class

Miki Tebeka tebeka at cs.bgu.ac.il
Tue Nov 21 11:18:34 EST 2000


Hello All,

Is there a date class in python?
One which I can do things like:
d1 = date('11/11/00')
d2 = date('12/12/00')
days = d1 - d2
if (d1 < d2) ....

Thanks
------------------------------------------------------------------------------
Smile, damn it, smile.

(lambda (msg)
  (case msg
	((name)		"Miki Tebeka")
	((email)	"tebeka at cs.bgu.ac.il")
	((homepage)	"http://www.cs.bgu.ac.il/~tebeka")
	((quote)	"I don't suffer from insanity, I enjoy every minute of it.")))




More information about the Python-list mailing list