Miguel de Val Borro miguel.de...@gmail.com 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 + (dt
New submission from Miguel de Val Borro miguel.de...@gmail.com:
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