/TzPeriod
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){givenDate}&filter=toDate(GTE){givenDate}
Â