How can I specify date and time in Python?

Viewed 113902

What is the object used in Python to specify date (and time) in Python?

For instance, to create an object that holds a given date and time, (let's say '05/10/09 18:00').

As per S.Lott's request, so far I have:

class Some:
    date =

I stop there. After the "=" sign for, I realize I didn't knew what the right object was ;)

4 Answers
Related