Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Guys,
I have a master calendar and I am using same script as mentioned in the below post
Where do I have to modify the script to get Financial Year field like below
2014-15
2015-16
2016-17
Thank you
I added following in my master calendar script.
Text file attached.
thanks
or simply try this one. With this script you get both the Year in a number format and also in the format you required.
Thanks.
Set vFM = 4 ; // First month of fiscal year
Calendar:
Load Dual(fYear-1 &'-'& fYear, fYear) as FYear, // Dual fiscal year
Dual(Month, fMonth) as FMonth, // Dual fiscal month
*;
Load Year + If(Month>=$(vFM), 1, 0) as fYear, // Numeric fiscal year
Mod(Month-$(vFM), 12)+1 as fMonth, // Numeric fiscal month
*;
Load Year(Date) as Year, // Your standard master calendar
Month(Date) as Month,
Thank you
I added following in my master calendar script.
Text file attached.
thanks