Skip To Content

ListTimeZones

Resumen

Lists valid Time Zone IDs.

Debate

List available Time Zone IDs for use in the TimeZoneInfo class.

Sintaxis

ListTimeZones ()
Valor de retorno
Tipo de datosExplicación
String

A list of Time Zone IDs.

Muestra de código

ListTimeZones example 1

The following script will list all available Time Zone IDs.

import arcpy
arcpy.time.ListTimeZones()