Tobias Weber <t...@gmx.net> wrote: > >despite the directives for leading zero stime.strptime('09121', >'%y%m%d') returns the first of December. Shouldn't it raise ValueError?
Python merely calls the strptime function in your C run-time library. If it sucks, so will time.strptime. >Where do I get strict date parsing? You do it yourself. Strict date parsing is incredibly tricky. The eGenix mx.DateTime module might be more to your liking. -- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list