trouble with time --again
- From: nephish@xxxxxxx
- Date: 30 Aug 2005 10:42:41 -0700
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
.
- Follow-Ups:
- Re: trouble with time --again
- From: Do Re Mi chel La Si Do
- Re: trouble with time --again
- From: Kristian Zoerhoff
- Re: trouble with time --again
- Prev by Date: Re: SpamBayes wins PCW Editors Choice Award for anti-spam software.
- Next by Date: Re: reg email packages work
- Previous by thread: Precise timings ?
- Next by thread: Re: trouble with time --again
- Index(es):
Relevant Pages
|
|