<br><div class="gmail_quote">2008/7/14 Francesc Alted <<a href="mailto:faltet@pytables.org">faltet@pytables.org</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
[...]<div class="Ih2E3d"><br>
> DateArray([14-Jan-2001 14:34:33, 16-Jan-2001 10:09:11],<br>
>           freq='S')<br>
<br>
</div>That's great.  However we only planned to import/export dates from the<br>
``datetime`` module for the time being, mainly because of efficency but<br>
also simplicity.  Would many people be interested in seeing this kind<br>
of string date parsing integrated in the native NumPy types?<br>
<br></blockquote></div><br>It's useful to have a complete string representation to write dates <br>to a file and be able to retrieve them later on. In this sense, a strftime-like<br>write/read method would be appreciated (where the date format is specified <br>
by the user or set by convention). <br><br>On the other hand, trying to second guess the format the date is formatted in can quickly turn<br>into a regular expression nightmare (look at the mx.datetime module that does this). I'd hate<br>
to see you waste time on this. <br><br><br>David