Alexander Belopolsky <alexander.belopol...@gmail.com> added the comment:
You can easily get the fractional day value using existing functionality: >>> from datetime import * >>> (datetime(2011,8,15,18,30) - datetime(2011,8,13,12,0)) / timedelta(1) 2.2708333333333335 >>> (datetime(2011,8,15,18,30) - datetime(1970,1,1)) / timedelta(1) 15201.770833333334 In some sense this request is a duplicate of issue2736. ---------- assignee: -> belopolsky nosy: +belopolsky resolution: -> rejected stage: -> committed/rejected status: open -> pending _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12772> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com