Site
Home / Forum / General Discussion / Select automatically the last round

Select automatically the last round


Posted: 04 Jun 2021 10:54


Hi,

For these datas https://www.thesportsdb.com/api/v1/json/1/eventsround.php?id=4328&r=38&s=2014-2015 is it possible to select automatically the last round played to avoid to have to set it manually (for the r=xx)
Thanks

PS : Sorry think i found a way to do it ! I just have to test it


Posted: 05 Jun 2021 18:32


When we used of these datas (https://www.thesportsdb.com/api/v1/json/1/eventsround.php?id=4328&r=38&s=2014-2015), when a match is finished, it takes a long long time to change of status. Match Finished appear several hours after the end of the match. Why ?

Posted: 06 Jun 2021 17:16


Always on these datas it seems "strTimeLocal" doesn't work. No problem with "strTime" but "strTimeLocal" is not displayed

Posted: 06 Jun 2021 17:22
curswine


Posts: 947
Joined: 2020

Always on these datas it seems "strTimeLocal" doesn't work. No problem with "strTime" but "strTimeLocal" is not displayed

Probably because not everyone enters the local time and only the UTC time.

If there are any particular events you want the local times for, post them here and I can update them, or you can do it yourself also.

Posted: 06 Jun 2021 18:14


Actually my wish is to display the time of the beginning of the football matches for France (whatever the match).
I fixed it with a php script. Thanks

zag
Posted: 06 Jun 2021 20:51

zag


Posts: 3,551
Joined: 2020

Yes strLocal time is optional, always best to use the UTC time with a script to adjust to your timezone.

Posted: 07 Jun 2021 04:48


Yes it is what I did.The problem is that dates change.
For example the a football match begins between 22h and 23h59 UTC, at me it is between midnight and 1h59 (i am on the UTC+2) so here it is the day after. I need to fix this problem of date


Who is Online?

In total there are 68 users online :: 3 registered, 0 hidden and 65 guests (based on users active over the past 5 minutes) Most users ever online was 424 on Fri Nov 10, 2017 9:02 pm

About Us

Discussion forum for TheSportsDB.com site and related topics

Rules

- Be Polite
- Respect other users
- Always post log files with issues
- Try to be helpful
- No Piracy discussion

Showing 0 to 7 (Total: 7)