Setting Time zone using "created_at" field
Hi, I am sending data from my device to the thingspeak server using HTTP and I'm trying to attach a timestamp with my uploads. I am using the created_at field in the request to set the time zone. A sample request looks like this
I live in India and my timezone offset is 5 hours 30 min. When I specify it like as shown above, I can see in the private view of my channel that it is adding 5 hours 30 min to the given time zone. So this time stamp becomes 21:04. How do I fix this? Am I making some mistake in my time zone offset in created_at? Or is there some time zone setting that is not set properly in my channel?
Thanks, Ashwin N
4 Comments
Time DescendingYour channel uses your profile settings to change the UTC timestamps saved in ThingSpeak into your local settings. If you want the data to show up in your local time, you can write UTC timestamps without the +5:30 and your channel will show them properly. Is this the effect you are trying to achieve?