Get Started
Usage API
More information

POST api/2.0/calendar/utcoffset This function requires authentication

Description

Returns the offset or difference between the time in the specified time zone and Coordinated Universal Time (UTC) for the particular dates.

Parameters
Name Description Type Example
timeZone
sent in body
Time zone ID string some text
startDate
sent in body
Start date to determine the offset Date and Time Roundtrip format: 2008-04-10T06-30-00.000Z
endDate
sent in body
End date to determine the offset Date and Time Roundtrip format: 2008-04-10T06-30-00.000Z
Example
POST api/2.0/calendar/utcoffset
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "timeZone": "some text",
  "startDate": "2008-04-10T06-30-00.000Z",
  "endDate": "2008-04-10T06-30-00.000Z"
}
Returns

The UTC offset in minutes