Difference between revisions of "Custom Defined Holidays"

From SmartWiki
Jump to: navigation, search
(See Also)
 
(One intermediate revision by the same user not shown)
Line 17: Line 17:
  
 
==See Also==
 
==See Also==
 +
* [[Holiday Calendar]]
 
* [[Manipulating Dates]]
 
* [[Manipulating Dates]]
 
* [[Calculated Value - busdateadd Function|busdateadd()]]
 
* [[Calculated Value - busdateadd Function|busdateadd()]]
Line 22: Line 23:
  
  
[[Category:JavaScript]][[Category:Variables]]
+
[[Category:JavaScript]][[Category:Variables]][[Category:Date Formats]]

Latest revision as of 13:43, 29 August 2013

Instead of using the holidays that are built-in to SmartSimple you can custom define which dates should be considered holidays.


The ssvar_holidays variable can be used to override the system defined holiday dates on that record being edited.



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,";


See Also