timeobject[2].value

Get help and insight.
Post Reply
User avatar
oakbarn
Posts: 846
Joined: Thu Jan 05, 2012 2:28 pm
Bot?: No
Location: Texas
Contact:

timeobject[2].value

Post by oakbarn »

In the API you can call a timer value. What is the value format?

What would 5 minutes be?

How about 1 Minute.

BBralley helped me make a Single Timer and Temp on an html that I can run on a screen and see across the room. I am trying to modify it so that the color changes at <= 5 minutes and again at 1 Min,

I will have a countdown timer that is color "lime" until <= 5 when it will turn "red". When it gets to <= 1 minute, the background will turn "yellow".

I just do not know the format of the timer object.value. Seconds? :D
User avatar
bbrally
Posts: 210
Joined: Sat Mar 27, 2010 3:59 am
Bot?: No
Location: Vancouver, BC
Contact:

Re: timeobject[2].value

Post by bbrally »

The BCS returns time values in tenths of a second. So 5 minutes would be 5 * 60 * 10 = 3000
Post Reply