mx.DateTime formatting, need milliseconds

Troy troy at morpheus.net
Fri Feb 27 13:55:52 EST 2004


Hi-

I'm running Python 2.3 on Windows so I am using the mx.DateTime
package to parse timestamps from a log.

The timestamps are formatted like so:
2004-02-24 15:42:03,707

When I use the default formats for the getDateTimeFromString()
function, I lose the milliseconds.  I can't find documentation
anywhere about how to write a format string for mx.DateTime so I can't
write my own format string.

I really need that data.  Thanks!

Troy



More information about the Python-list mailing list