Date period for batch job needs to be dynamic using runbasebatch x++

The report will be planned to run in batch. The date period for batch needs to be dynamic. It’s planned to be run monthly to be run on the 3rd of each month. For batch, the date interval be used, so a date interval for the 3rd of or the previous month to the 3rd of the current month can be setup. If date intervals are used, then the ability to override the from and to dates should be allowed. kindly pls advice how can i do.

Thanks Advance