found a better way to do big numbers of days

from https://gist.github.com/russellb/5082605