How to get server-specific timezone offsets?

Answered

Comments

5 comments

  • Avatar
    Andrey Terentyev

    Hello,

    Please don't use these functions. They are of the deprecated API.

    Use /rest/v2/servers instead. See the timezoneUtcOffset parameter.

    0
    Comment actions Permalink
  • Avatar
    Dylan Zumar

    Andrey Terentyev thank you for the reply! How do we get access to the /rest/v2/ APIs? Is there documentation for them? Are they GET or POST requests?

    0
    Comment actions Permalink
  • Avatar
    Andrey Terentyev

    Hi,

    I guess, first of all, you should upgrade to the latest version 5.1.0.37133.

    https://meta.nxvms.com/downloads/releases

    The API documentation is available in the web interface of the Server and in the Cloud here

    https://meta.nxvms.com/doc/developers/api-tool/main?type=1

    0
    Comment actions Permalink
  • Avatar
    Dylan Zumar

    Andrey Terentyev Thanks for pointing me towards the documentation!

    • However, in the /rest/v2/servers API documentation I don't see the field 'timeZoneUTCOffset'?
    • Also, is there a reason why I might get inconsistent values for the two deprecated APIs I mentioned earlier? We would prefer to be able to get the server time for earlier versions as well

    Thanks for your help!

    0
    Comment actions Permalink
  • Avatar
    Andrey Terentyev

    Hello,

     

    We would prefer to be able to get the server time for earlier versions as well

    Even if there is a reason or several, we don't fix deprecated APIs and don't support issue related to deprecated API if resolvable with the new API.

    Encourage you to update to the newest version and to use the new API.

    0
    Comment actions Permalink

Please sign in to leave a comment.