paul brian wrote:
>You are fairly close
>
>
>
t1 = today()
t1
>
>
>
t2 = today() + RelativeDateTime(hours=20)
t2
>
>
>
t3 = t2 - t1
t3.hours
>20.0
>
>
slice = t3/20
slice
>
>
>t3 is a "D
You are fairly close
>>> t1 = today()
>>> t1
>>> t2 = today() + RelativeDateTime(hours=20)
>>> t2
>>> t3 = t2 - t1
>>> t3.hours
20.0
>>> slice = t3/20
>>> slice
t3 is a "Delta" - that is an abstract representation
of time - it is not the 20 hours since midnight, just 20 hours
at any time in th
Hey there,
i use mx.DateTime.RelativeDateTimeDiff to get the difference between
date_x and date_y.
what i need to do divide this amount of time into 20 different times
that spaced out between the date_x and the date_y.
so if the difference between date_x and date_y is 20 hours, i need 20
DateT