24 Jan
2002
24 Jan
'02
2:20 p.m.
Hi, I have a problem with a python script... I want to know the month of a date. Therefor I use 'lastDate.strftime( '%m' )'. If I catch the date with 'lastDate = DateTime()' everything works fine, but if I define it manually ( 'lastDatee = 2002/01/18 21:34:18.4746 GMT+1' ), I am getting an attribute error: Error Type: AttributeError Error Value: strftime How can I turn the string into a date, so that strftime works again? MfG Steffen -- Es gibt keine perfekten Menschen, nur perfekte Absichten.