I am trying to implement timezone information in my Python application, and I came across two different Python modules that implement this function: pytz and python-dateutil. I am wondering what is the difference between these two modules?
(pytz) http://pytz.sourceforge.net/
(python-dateutil) http://labix.org/python-dateutil
Both provide useful support for processing time zones. I personally used pytz in my django applications and found it useful and convenient to work with. Hope my two cents will help.
I use both packages. I personally don't like how python-dateutil is packaged (this whole version of python 2 and this version for python 3), it was not even on pypi. python-dateutil is great for parsing, even if it is somewhat slow (it parses though). I would argue that my pytz package money has become the standard for time zones.
I personally would prefer the pytz package. python-dateutil is a little weird to use and a bit slower