Creating a custom data type for time zones - Security Center 5.11

Security Center Administrator Guide 5.11

Applies to
Security Center 5.11
Last updated
2024-04-03
Content type
Guides > Administrator guides
Language
English
Product
Security Center
Version
5.11

To ensure that you enter valid time zone names when configuring time zones for cardholder and visitor activation and expiration, create a custom data type containing all the time zones you want to use.

What you should know

It is recommended to generate a list of time zones used by Windows to create the custom data type because time zones entered in the Cardholder Time Zone and Visitor Time Zone custom fields are not validated. If you enter an invalid value in the custom field, the local time of the client workstation is used, and you are not notified that the value is invalid.

Procedure

  1. Generate a list of time zones from Windows, using a PowerShell command line.
    1. Open Windows PowerShell.
    2. Enter the following command line:
      get-timezone -ListAvailable | Format-Table -property ID -HideTableHeaders | Out-File C:\Genetec\TimzoneIDs.txt
    3. Press Enter to generate the list.
    Open the TimeZoneId.txt file that was generated in C:\Genetec. You can copy-paste the time zones you need from this file as values for the custom data type in Security Center.
  2. From the Config Tool homepage, open the System task, and click the General settings view.
  3. Click the Custom fields tab, and then click the Custom data types tab.
  4. Click Add an item () at the bottom of the custom data types list.
  5. In the Creating a custom data type wizard, configure the following parameters on the Basic information page:
    Name
    Enter a name for the custom data type. For example, Time zones.
    Description
    Enter a description for the custom data type.
    Type
    Select Text.
  6. Click Next.
  7. On the Data entry page, click Add an item ().
  8. In the Value field of the dialog box, enter a time zone from the list you generated, and click OK.
    The value is added to the list.
  9. Add more time zones as required.
  10. When you are finished, click Next, Next, and Close.