datetime string conversion error
twistedphrame at gmail.com
Tue Mar 16 19:56:30 CET 2010
I'm trying to convert a string to a date time object and all my fields
convert except for month which seems to default to january.
here's what I'm doing:
date = "2010-03-16 14:46:38.409137"
olddate = datetime.strptime(date,"%Y-%m-%j %H:%M:%S.%f")
notice the 01 in the second date from what I could tell everything is
thanks for the help.
More information about the Python-list