APIs in Category: clock
Cluster-Mode API version 1.15

 
clock-get-timezone
These APIs allow for manipulation of timezone and date on the filer. Timezone and date can be set on the filer as well as we can get the current date, timezone and compliance clock time on the filer.

NetApp Manage ONTAP
 
clock-get-timezone [top]

Gets current timezone and timezone file version.
Output Name Range Type Description
timezone string
Current timezone name where the storage system is operating. A timezone can have one of the two formats:
  1. "Using a location string specified in Arthur David Olsen's public domain time zone database. For example, "Americas/New_York" represents most of the Eastern Time Zone.";
  2. "A traditional time zone abbreviation incorporating default rules for daylight savings time. For example, "EST5EDT" for the US Eastern Time Zone.";
timezone-UTC string
Current timezone of the storage system in UTC +/-hhmm format. This indicates that the local time zone is hh hours and mm minutes ahead or behind UTC. For example, Central European Time(CET) is +0100 and U.S./Canadian Eastern Standard Time(EST) is -0500.
timezone-version string
Version of the time zone database. "YYYY" is the year the data base was released and "v" is the version within that year. "YYYY" will be four decimal digits and "v" will be an ASCII letter starting with "a" and increasing with each version. For example, the second 2007 version is "2007b".
 Errno  Description
 ENOTIMEZONESET
 ENOTIMEZONEVERSION