add days field for period of time mode (closes #22)