News for hackers. Stuff that matters.
Re:The Django book, Second Edition. by Scriptor on Saturday January 10, 2009 @12:13AM (#427655)
As others have mentioned, datetime is basically a module that deals with everything related to dates and times. datetime.datetime is a class that deals specifically with date and time combinations. So basically datetime.datetime.now() would return something that contained both the present date and time, while datetime.time deals with time objects.

There are no comments on this comment yet.