[SciPy-user] Convert a date string to a date object

Pierre GM pgmdevlist@gmail....
Fri Aug 17 11:24:01 CDT 2007


On Friday 17 August 2007 12:09:34 Bill Dandreta wrote:

> mxDateTime only distributes binaries
Scroll down for the sources.

> but I looked at the dateutil source 
> and realized right away that any general datestring parsing algorithm will
> have to me much slower than a direct approach as Alexander's post
> demonstrates.

But far more flexible at the same time. If you only use the same YYYY-MM-DD 
format, Alexander's split-based method will work as long as the format is 
respected...


More information about the SciPy-user mailing list