Custom Defined Holidays
From SmartWiki
Instead of using the holidays that are built-in to SmartSimple you can custom define which dates should be considered holidays.
- When using the busdateadd() or isHoliday() functions.
The ssvar_holidays variable can be used to override the system defined holiday dates on that record being edited.
- The ssvar_holidays variable must be included in a Browser Script custom field on the same level as the busdateadd() or isHoliday() function.
Example
ssvar_holidays=",2011-01-01,2011-02-16,2011-04-10,2011-05-18,2011-07-01,2011-08-03, 2011-09-07,2011-10-12,2011-12-25,2011-12-26,2011-12-28,2012-01-01,2012-04-02,2012-05-24, 2012-07-01,2012-08-02,2012-09-06,2012-10-11,2012-12-27,2012-12-28,";