An object where the timezone offset and daylight savings are stored.
Property | Type | Length | Mandatory | Description | Comments |
---|---|---|---|---|---|
| String | 8 | The name of the timezone, for example CET | ||
| Date | Yes | The start date of the timezone offset | ||
| Date | Yes | The end date of the timezone offset | ||
| Boolean | Indicates whether or not the timezone offset is using the daylight savings. | |||
| Integer | Timezone offset in seconds |
To find a timezone offset for a given timezone and given date the following API query can be used:
/ws/rest/TzPeriod?filter=timezone.key(EQ){timezone.key}&filter=fromDate(LTE){given date}&filter=toDate(GTE){given date} |