Comments on Updates to the MATLAB Analysis App with Lots of Example Code Hans Scharler is an Internet of Things pioneer. He writes about IoT and ThingSpeak IoT platform features. 2019-04-09T17:34:43Z https://blogs.mathworks.com/iot/2015/09/09/updates-to-the-matlab-analysis-app-with-lots-of-example-code/feed/atom/ WordPress By: Hans Scharler Hans Scharler https://blogs.mathworks.com/iot/?p=1497#comment-210308 2019-04-09T17:34:43Z 2019-04-09T17:34:43Z You are correct. ThingSpeak does adjust its embedded plots to the viewer’s timezone. The MATLAB Plots do not. They use UTC as the default, but as you pointed out, the timezone can be adjusted. Thanks.

]]>
By: Claude Andrew Claude Andrew https://blogs.mathworks.com/iot/?p=1497#comment-210306 2019-04-09T17:29:15Z 2019-04-09T17:29:15Z I am using a MATLAB Visualization and what I’ve found is the exact opposite of what you say in this post for thingSpeakRead. The data is returned in UTC time but with no TimeZone in the datetime. If I make no adjustment to the TimeZone then the MATLAB Visualization plots the data with UTC time while the ThingSpeak charts of the same data on the same page *are* adjusted to my account’s timezone. To adjust to my local time I have to first set the TimeZone to ‘Etc/UTC’ and then set to my local timezone thus:
times.TimeZone=’Etc/UTC’;
times.TimeZone=’America/Los_Angeles’;

Perhaps things have moved on since you wrote this article but, if I haven’t made some mistake in my understanding, it might be worth updating.

]]>
By: paul reisinger paul reisinger https://blogs.mathworks.com/iot/?p=1497#comment-201646 2018-01-13T18:23:24Z 2018-01-13T18:23:24Z Hello I just started using Thingspeak a few days ago. In My Profile, time zone is set to : Eastern Time/Us & Canada. This works fine in the Charts view which show the correct local time on the x axis, But when I use the Export function the resulting csv file has UTC timeStamps. So what do I need to do to get the csv file with my local time timestamps?

Thanks,
Paul

]]>