[Python-ideas] date.datetime() method to convert from date to datetime

Evan Martin python-dev at realityexists.net
Fri Jun 3 14:46:35 CEST 2011

Yes, zero means the midnight of the date. No timezone - it's a naive 
datetime, same as the original date. The method would return exactly the 
same result as datetime.combine(date, time())

Evan Martin

More information about the Python-ideas mailing list