How to use date range for your timezone in thingspeak?

3 views (last 30 days)
Hi Team
I have the following Rest URL, but i notice the timezone is not correct. I am in South Africa and want it to correstpdonf with my auto time as per time and date. What could be reason for this issue below?
  1 Comment
Håkon Dahle
Håkon Dahle on 10 Dec 2019
Hi,
the URL uses UTC+02:00 which I believe is the same as South Africa Standard Time.
Note that the data returned in the CSV-file will show times in UTC. So when the first line in the CSV-file says
2019-12-06 05:54:43 UTC
this is actually the same as
2019-12-06 07:54:43 SAST South Africa Standard Time.

Sign in to comment.

Answers (1)

Christopher Stapels
Christopher Stapels on 11 Dec 2019
You can use the timezone or offset parameters.
They are documented in the Read Data documentation page. Be sure to change the api key to match your read api key.

Communities

More Answers in the  ThingSpeak Community

Categories

Find more on ThingSpeak in Help Center and File Exchange

Tags

Products


Release

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!