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: 477
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:
37 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 272

Vinod: 240

piajola: 95

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 8665

Moderators: 1

Admins: 2

Forum Stats:

Groups: 3

Forums: 14

Topics: 1600

Posts: 5760

Newest Members:

KenterDernnida, AlisaMiz, AriurinDernnida, KabinaDernnida, lakishakm3, CoreenDernnida

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457