Site
Home / Forum / Developers / Event Details srtDate vs DateEvent Confusion

Event Details srtDate vs DateEvent Confusion


Posted: 01 Mar 2018 22:12

zag


Posts: 3,511
Joined: 2020

Hi, I was using strDate for all event but recently I've discovered it's nul for i.e. F1.
Could you explain how I should use both dates?
Thanks.

Posted: 02 Mar 2018 15:53

zag


Posts: 3,511
Joined: 2020

Hmm it should be standard all through, maybe some legacy thing.

have you got an example?

Posted: 02 Mar 2018 16:07

zag


Posts: 3,511
Joined: 2020

Hmm it should be standard all through, maybe some legacy thing.

have you got an example?

https://www.thesportsdb.com/api/v1/json ... hp?id=4328 both are ok
https://www.thesportsdb.com/api/v1/json ... hp?id=4370 strDate:null

Posted: 03 Mar 2018 13:02

zag


Posts: 3,511
Joined: 2020

Ahh yes I remember now, I just added that field to support american dates on some other sports.

The real primary field is dateEvent which should always be filled out.


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 4 (Total: 4)