Re: [Tutor] time challange
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
Re: [Tutor] time challange
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