# Internet time vs RTC

**URL:** https://discourse.nodered.org/t/internet-time-vs-rtc/33792
**Category:** General
**Created:** [5 October 2020 20:24 UTC](https://discourse.nodered.org/t/internet-time-vs-rtc/33792 "2020-10-05T20:24:31Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ricky.spanish6](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ricky.spanish6/32/41480_2.png) [@ricky.spanish6](https://discourse.nodered.org/u/ricky.spanish6)
#### Post date: [5 October 2020 20:24 UTC](https://discourse.nodered.org/t/internet-time-vs-rtc/33792/1 "2020-10-05T20:24:31Z")

</div>

Hi, I'm wondering what would be best for time-based events, RTC (and how to interface it) VS. Internet time.

I'm running Node-RED on a Raspberry Pi 3 b+.

Thanks!

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [5 October 2020 20:40 UTC](https://discourse.nodered.org/t/internet-time-vs-rtc/33792/2 "2020-10-05T20:40:07Z")

</div>

An RTC is pretty much a waste of money on a general-purpose compute device that is always connected to the Internet.

So you would only want to get an RTC if your device spent a lot of time (12hrs or more maybe?) offline. The default installation for something like Rasbian is more than sufficient to keep a Pi within a few seconds at worse (I've not actually checked to be honest but large offsets impact things like cryptography so tend to be noticable) maybe only a few ms? I think that the default checks the NTP service every hour? I'd expect the internal clock to be within a few seconds over 24hrs, maybe better.

---

<div class="post-metadata">

### Author: ![ricky.spanish6](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ricky.spanish6/32/41480_2.png) [@ricky.spanish6](https://discourse.nodered.org/u/ricky.spanish6)
#### Post date: [8 October 2020 00:00 UTC](https://discourse.nodered.org/t/internet-time-vs-rtc/33792/3 "2020-10-08T00:00:15Z")

</div>

Thanks! That helps a lot.

I was on the fence between keeping my pi connected to a network or setup my pi as a standalone with an RTC keeping the time. It sounds way simpler to just leave it on the network.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [7 December 2020 00:00 UTC](https://discourse.nodered.org/t/internet-time-vs-rtc/33792/4 "2020-12-07T00:00:20Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
