Brian Dunning's FileMaker Custom Functions

HolidaysONCAN ( theYear )

Provides a list of all holidays (the actual day we get off) for Ontario, Canada

  Be the first to rate this function Log in to vote

Kaia Sequillion   Kaia Sequillion - Show more from this author
Gilmore Doculink

  Sample input:
HolidaysONCAN (2026)
  Sample output:
2026-01-01
2026-02-16
2026-04-03
2026-05-18
2026-07-01
2026-08-03
2026-09-07
2026-10-12
2026-12-25
2026-12-28

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Modified from HolidaysAUS by Vaughan Bromfield to use holidays from Ontario, Canada instead of Australia, and also fixes a bug in the original code where the dates would sometimes be wrong if the 1st of the month was on a Sunday.

HolidaysAUS ( theYear )
by Vaughan Bromfield
https://www.briandunning.com/cf/1494

Also credit to Menno van Beek for Easter_Sunday which was used in the original function and now mine.

Easter_Sunday ( TheYear )
by Menno van Beek, STB Automatisering & Advies BV.
http://www.briandunning.com/cf/1473

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 22 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: