Setting The Timezone

Introduction

All dates and times provided by SportMonks are in UTC timezone by default. You can easily override the timezone by passing a tz parameter to the URL. Therefor you’ll need a valid timezone name. You can find a list of possible timezones at: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

A request to the API with your own timezone can look like this:

GET https://soccer.sportmonks.com/api/v2.0/livescores?api_token=__TOKEN__&tz=Europe/Amsterdam

Invalid timezone will respond with a 400 error code.

Questions?

We're always happy to help with code or other questions you might have! Search our documentation, contact support, or get in touch with our sales team.

This article was last updated on 2019-01-17 14:33:58

{{ loginForm.errors.get('email') }}

{{ loginForm.errors.get('password') }}

Remember me?