How to solve timestamp error ? | ThingSpeak API | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
How to solve timestamp error ?
No permission to create posts
July 8, 2018
3:39 am
Avatar
mnaveed1

Gold
Members
Forum Posts: 25
Member Since:
June 15, 2018
sp_UserOfflineSmall Offline

Hello,
I have data stored as :

cel=[data1(1,1) data2(1,1) data3(1,1)]
newTime0=datetime(timestamps0)
newTime1=datetime(timestamps1)
newTime2=datetime(timestamps2)

celTime=[newTime0 newTime0 newTime0]

thingSpeakWrite(writeChID,cel,'TimeStamp',celTime,'WriteKey',writeAPIKey)

However, I get this error:

Error using Calculate wind chill and update channel 7 (line 80)
Error using thingSpeakWrite
'Timestamps' value must contain month, day, year, hour, minute, and second.

July 10, 2018
9:10 am
Avatar
cstapels
Moderator
Members


Moderators
Forum Posts: 332
Member Since:
March 7, 2017
sp_UserOfflineSmall Offline

Can you share what the format of timestampsn is?

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online: James181
19 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 261

Vinod: 196

piajola: 85

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

Newest Members:

James181, kimberlypg2, JamesAdorb, waynesmith, paulettebw60, ashleytb4

Administrators: Hans: 387, lee: 457