trouble with time --again



Hey there,
could someone show me where i am going wrong here?

>>> date1 = '2005-01-01 8:20:00'
>>> date1 = strptime('%Y-%m-%d %H:%M:%S',date1)

raise ValueError("time data did not match format: data=%s fmt=%s" %
ValueError: time data did not match format: data=%Y-%m-%d%H:%M:%S
fmt=2005-01-01 8:20:00

i have looked over the strptime and strftime over and over, dont get
where i am missing it here.

thanks

.



Relevant Pages

  • what up rmp what up b n p
    ... hey hey rmp whats shaking ... maybe one day ill do the 9-5 but i dont even think so. ... groups of people gathered aronud totally getting off on shakespeare. ... i have to pee" says a beautiful young english women. ...
    (rec.music.phish)
  • Re: OT:OT:OT This week in God
    ... > thats what makes you racist,, and you dont get it!!!!! ... > i am red neck in that my neck gets red in the summer after a day in the ... i hate pooo coloured skin people,,, ... > hey yellow skinned dude- you got jaundice?? ...
    (alt.support.mult-sclerosis)
  • college assignment
    ... Hey guys, i am pretty new to VB, and am in my access year to HND, i ... have been given an assigment but i dont really understand how to do ...
    (microsoft.public.vb.general.discussion)
  • Re: ISO to Gregorian, strptime madness
    ... >>Looks to me like strptime and strftime are both in time and not in datetime. ... > Yeah I didn't remember the specifics, ... > so please ignore the silly mistake and help with the other things. ...
    (comp.lang.python)
  • Re: MOVAPS (SSE) and Windows -> Crash
    ... Hey I dont know what you problem is but, but maybe I can give some hints. ... I really have no clue but here it is: ...
    (alt.lang.asm)