system.user.getHolidayNames
This feature is new in Ignition version 7.8.0
Description
Returns a collection of Strings of all holiday names.
Syntax
-
Parameters
None
-
Returns
List - A list of all holiday names, or an empty list if no holidays are defined.
-
Scope
All
Code Examples
Code Snippet
# This example prints the name of every holidayholidayNames = system.user.getHolidayNames()for holidayName in holidayNames: print holidayNameOutput
Labor DayGroundhog Day