Miguel de Val Borro added the comment:
Thanks, I need the fractional day added to the ordinal day of the month. Using
the timedelta division it would be:
>>> from __future__ import division
>>> dt = datetime.datetime(2008, 5, 8, 13, 35, 41, 56)
>>> dt.day + (d
New submission from Miguel de Val Borro :
It would be useful to have a fractional day method in datetime.datetime
that returns a float object calculated from the day, hour, minute, second, and
microseconds. Fractional days in UTC are often used in science, in particular
to record astronomical