Hi,
My question is how to calculate the quarter end date according to the current date in shell script?
Hi,
the 4 quarter end dates are the same each year, so you could take the month number and check in which range it lies: 1-3, 4-6, 7-9 or 10-12. Then you know which quarter end date applies..
S.
Assumes of course that your fiscal year end is Dec 31.