Does anyone have an example script that will help me create a 13 period calendar?
You are talking about something like the international fixed calendar
One simple approach might be to create two mapping tables for leap years and non leap years.
(That's the good thing about the IFC, two lookup tables are enough for all time)
Retrieving data ...