<p>To get the actual time of day, you can use the <a href="http://mindsensors.com/index.php?module=pagemaster&amp;PAGE_user_op=view_page&amp;PAGE_id=77">mindsensors.com Realtime Clock Sensor</a>.</p>

CC BY-SA 3.0
2014-08-26T15:38:37.763Z
2014-08-26T15:38:37.763Z
David Lechner
<p>Time is thought of as a sensor value, measured in seconds. The Timer sensor can be used directly, as part of a Wait For block, as part of a Loop block.</p>

CC BY-SA 3.0
2014-08-26T22:54:30.297Z
Is there a numerical limit to the sensor block? It seems 86,400 seconds between each function is quite a long time.
Ambo100
CC BY-SA 3.0
2014-08-27T13:00:08.490Z
86400 seconds is a long time for an NXT.  I think mine shuts down after ten minutes of inactivity.  If it can be set to never shut down, how long do the batteries last?
dfrevert
CC BY-SA 3.0
2014-08-26T12:16:04.757Z
2014-08-26T12:16:04.757Z
dfrevert
<p>I wanted to create a system where an NXT block would be set into function at a certain time of day (maybe 5:00 and then 5:10 and so on). I would want the timing function to be embedded into the NXT program. Is this a possible function? I have looked for documentation on the web but have not found anything useful..</p>

<nxt><programming><automation>
Is there a time mechanism that can be added to an NXT program?
Stefanos Koutsoukos
# Is there a time mechanism that can be added to an NXT program?

(Asked by: username_0 on 2014-08-26)

I wanted to create a system where an NXT block would be set into function at a certain time of day (maybe 5:00 and then 5:10 and so on). I would want the timing function to be embedded into the NXT program. Is this a possible function? I have looked for documentation on the web but have not found anything useful..

**Tags:** nxt, programming, automation


---

## 2 answers

### Answer by username_1 on 2014-08-26. Score: 5 | Accepted answer

To get the actual time of day, you can use the [mindsensors.com Realtime Clock Sensor](http://mindsensors.com/index.php?module=pagemaster&PAGE_user_op=view_page&PAGE_id=77).


---

### Answer by username_2 on 2014-08-26. Score: 2

Time is thought of as a sensor value, measured in seconds. The Timer sensor can be used directly, as part of a Wait For block, as part of a Loop block.

> **Comments:**
> **username_3**: Is there a numerical limit to the sensor block? It seems 86,400 seconds between each function is quite a long time.  
> **username_2**: 86400 seconds is a long time for an NXT.  I think mine shuts down after ten minutes of inactivity.  If it can be set to never shut down, how long do the batteries last?  

---

