[EMAIL PROTECTED] wrote:
> Hello there
>
> Messing around with certain time and datetime objects, I have managed to
> subtract a date/time from the present time thusly:
>
> from time import *
> import datetime
>
> one = datetime.datetime.now()
> two = datetime.datetime(2007, 8, 29, 11, 15, 00)
[EMAIL PROTECTED] wrote:
> Hello there
>
> Messing around with certain time and datetime objects, I have managed to
> subtract a date/time from the present time thusly:
>
datetime is definitely a module that takes a little getting used to.
> from time import *
>
(Bad form)
> import datet
Hello there
Messing around with certain time and datetime objects, I have managed to
subtract a date/time from the present time thusly:
from time import *
import datetime
one = datetime.datetime.now()
two = datetime.datetime(2007, 8, 29, 11, 15, 00)
difference = one - two
print difference
H