I have a fairly standard script (attached) which creates a calendar based on a field called 'PaymentDate'. This includes fields for financial quarter and year, I now need to add other financial date fields (financial year start and end, financial quarter start and end, current and previous financial year to date flags). Does anyone have code to do this?