Hello folks,
For my current use case, I need to get the value of previous month in the format MMM-FYY(Feb-F23) ,
- where F23 is Fiscal year 2023, we are now in Fiscal 24 which started from April,2023 to March,2024
- Also there are 4 quarters every fiscal year as Q1 (Apr - June), Q2 (July - Sep), Q3(Oct - Dec), Q4 (Jan-Mar)
- if the previous month is the last month of the quarter, then the output format should be Q4-Xyz-F24 (previous quarter-constant xyz-Fiscal year of the previous quarter)
- To be more clear on what is the expected output, If my bot is running in September 2023, since itβs fiscal year 2024 and current quarter is Q2, the expected output of previous 3 months should be -
for Aug (Aug-F24), for July (July-F24), for June (Q1-Xyz-F24)
I would appreciate every bit of help here.
Thanks a lot