marie wrote: >I am a newbie in python. And I would like to know how to create and >use the methods in date. Can someone please show me some code about >it. Thanks. > > import datetime year = 2004 month = 10 day = 22 d = datetime.datetime(year, month, day) print d etc. // m