MT#5879 Add prevmonth option to ease prev month invoices generation.

Additionally to strict stime and etime.