allows to give time interval in number of days