/
/TzPeriod

/TzPeriod

An object where the timezone offset and daylight savings are stored.

 

Property

Type

Length

Mandatory

Description

Comments

Property

Type

Length

Mandatory

Description

Comments

tzPeriodName

String

8

 

 

The name of the timezone, for example CET

fromDate

Date

 

Yes

 

The start date of the timezone offset

toDate

Date

 

Yes

 

The end date of the timezone offset

isDst

Boolean

 

 

 

Indicates whether or not the timezone offset is using the daylight savings.

offset

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}

 

Related content

Filtering
Filtering
Read with this
/Port
More like this
Port GMT Offset/Timezone Is Wrong
Port GMT Offset/Timezone Is Wrong
More like this
Error Message: "Unparseable Date" when Entering Valid Date
Error Message: "Unparseable Date" when Entering Valid Date
More like this
Wrong GMT Time Pending Charter Hire
Wrong GMT Time Pending Charter Hire
More like this
Schedule API
Schedule API
More like this