Clone wiki

BusinessDays / Home

Business Days

A tiny class for adding or substracting number of business days to a specified date.


Just get it from mercurial repo: hg clone

or download it by pressing get source from top right corner.


from datetime import date
from business_days import business_days

print date(2010, 01, 13) + business_days(5) # 2010-01-20
print date(2010, 01, 13) - business_days(10) # 2009-12-30