python3-dateutil – powerful extensions to the standard datetime module in Python 3

The dateutil package extends the standard datetime module with:

  • computing of relative deltas (next month, next year, next Monday, last week of month, etc);
  • computing of relative deltas between two given date and/or datetime objects
  • computing of dates based on very flexible recurrence rules, using a superset of the iCalendar specification. Parsing of RFC strings is supported as well.
  • generic parsing of dates in almost any string format
  • timezone (tzinfo) implementations for tzfile(5) format files (/etc/localtime, /usr/share/zoneinfo, etc), TZ environment string (in all known formats), iCalendar format files, given ranges (with help from relative deltas), local machine timezone, fixed offset timezone, UTC timezone
  • computing of Easter Sunday dates for any given year, using Western, Orthodox or Julian algorithms
Package availability chart
Distribution Base version Our version Architectures
Debian GNU/Linux 7.0 (wheezy) 2.0+dfsg1-1    
Ubuntu 12.04 LTS “Precise Pangolin” (precise)   2.0+dfsg1-1~nd12.04+1 i386, amd64, sparc
Ubuntu 14.04 “Trusty Tahr” (trusty) 2.0+dfsg1-1    

Comments

blog comments powered by Disqus