Can anybody help me to achieve Fiscal YTD,QTD,MTD,WTD?
You can create flags in the script to do this:
This provide the script to generate fiscal year calendar
Fiscal and Standard Calendar generation
For flags you can use the logic from here:
Creating A Master Calendar
Combine the two and you are good to go
There are functions which will help you set flags for all of there in your master calender.
You can make use of these functions:
Retrieving data ...