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 holiday
 
holidayNames = system.user.getHolidayNames()
for holidayName in holidayNames:
print holidayName
Output
Labor Day
Groundhog Day