Hi,

I've just submitted patch #1457227 which adds a convenience method to
datetime objects to get the timestamp.  It's equivalent to
time.mktime(d.timetuple()), I just wanted to save myself some typing
and be able to write d.timestamp() instead.

I hope I have the dst code right.  Would d.utctimestamp() be useful as well?

Cheers,
Chris
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to