You can use the function module
where you specify from which date you want next 3 months.
There are two parameters
months : where you specify how many months ,
like 3 for future 3 months
like -3 for past 3 months.
Date: from which date you want the calculation to be done.
If you find the answer sutiable please reward sutiable points an close the thread.