API-FOOTBALL

फ्रीमियम
Verified
द्वारा API-SPORTS | अपडेट किया गया hace 16 días | Sports
लोकप्रियता

10 / 10

लेटेंसी

370ms

सेवा का स्तर

100%

Health Check

N/A

सभी चर्चाओं पर वापस जाएं

Event date localization ?

Rapid account: Paupote
Paupote
hace 6 años

Hello,

I tried to get matchs with a specific date. I entered for example : 2018-11-07, then I don’t have matchs which has started at 00:30 in Brazil - Serie B.
But if I specify 2018-11-06, I got them with the attribute event_date to 2018-11-07 - 00:30 … How can I have different dates ?

I think it’s because the localization. In your documentation, it returns the match started the 2018-11-06 at 23:30.
How can we work together with localization ?

Thank you for your time

Rapid account: Api Sports
api-sports Commented hace 6 años

Hello,

All matches have UTC format date. To get matches by the dates it would be necessary to specify the location before the request.
It depends on the programming language used but here is an example in PHP: date_default_timezone_set (‘UTC’);

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें