[Tutor] is mxDateTime recommended?

John Fouhy john at fouhy.net
Thu Oct 20 23:38:41 CEST 2005


On 21/10/05, Kent Johnson <kent37 at tds.net> wrote:
> Since 2.3 Python includes a datetime module which has some facility for date
> calculations. I think mxDateTime is more sophisticated but if your needs are simple take
> a look at datetime.

The only significant difference I've come across is that mxDateTime
has a .strptime() function (for parsing a string like "10/12/2005"),
and python DateTime doesn't (so you have to go via the time module).

--
John.


More information about the Tutor mailing list