function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

How to get Fiscal Period & Fiscal Year from a date

Hi all

We use a custom 13 x 4-week calendar which means some dates could fall into the following year.

I have a date field on a invoice record and I want to be able to lookup and populate a field for store this. E.g 03/10/2023 would be FP10 FY2023.

Anyone able to help?

Many thanks
HarshHarsh (Salesforce Developers) 
Curious to know a little bit more about your requirements.
Please attach some screenshots if possible.