My error: The Python 2.6.5 documentation says:<br>v v v v<br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">classmethod datetime.strptime(date_string, format)¶<br>

<br>    Return a datetime corresponding to date_string, parsed according to format. This is equivalent to datetime(*(time.strptime(date_string, format)[0:6])). ValueError is raised if the date_string and format can’t be parsed by time.strptime() or if it returns a value which isn’t a time tuple. See section strftime() and strptime() Behavior.<br>

<br>    New in version 2.5.<br></blockquote>^ ^ ^ ^<br>I will include this information as a comment on the codeplex 17470 workitem.<br><br>Note that the equivalent code using &quot;time.strptime()&quot; is included in the above definition.<br>

--<br>Vernon Cole<br><br>On Mon, Jun 7, 2010 at 11:27 PM, Tony Meyer &lt;<a href="mailto:tony.meyer@gmail.com">tony.meyer@gmail.com</a>&gt; wrote:<br>&gt; On Tue, Jun 8, 2010 at 4:46 PM, Vernon Cole &lt;<a href="mailto:vernondcole@gmail.com">vernondcole@gmail.com</a>&gt; wrote:<br>

&gt;&gt; The issue tracker for CPython  [if I read it correctly] lists<br>&gt;&gt; datetime.strptime as a new feature to be supported in python 2.7 and<br>&gt;&gt; 3.2. It is not documented in the Python 2.6 manual.<br>&gt;<br>

&gt; datetime.datetime.strptime is definitely in CPython 2.5 and 2.6:<br>&gt;<br>&gt; &quot;&quot;&quot;<br>&gt; tony-meyers-imac:~ tameyer$ python<br>&gt; Python 2.5.1 (r251:54863, Feb  6 2009, 19:02:12)<br>&gt; [GCC 4.0.1 (Apple Inc. build 5465)] on darwin<br>

&gt; Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.<br>&gt;&gt;&gt;&gt; import datetime<br>&gt;&gt;&gt;&gt; datetime.datetime.strptime(&quot;2010 06 08&quot;, &quot;%Y %m %d&quot;)<br>

&gt; datetime.datetime(2010, 6, 8, 0, 0)<br>&gt; &quot;&quot;&quot;<br>&gt;<br>&gt; The only IP 2.6 I have handy is <a href="http://trypython.org">trypython.org</a>, and the above code does<br>&gt; fail there (no copy and paste from the site unfortunately).<br>

&gt;<br>&gt; This is a known bug (so go vote!):<br>&gt;<br>&gt; <a href="http://ironpython.codeplex.com/workitem/17470">http://ironpython.codeplex.com/workitem/17470</a><br>&gt;<br>&gt; Cheers,<br>&gt; Tony<br>&gt; _______________________________________________<br>

&gt; Users mailing list<br>&gt; <a href="mailto:Users@lists.ironpython.com">Users@lists.ironpython.com</a><br>&gt; <a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br>

&gt;<br><br>