Skip to main content

Rtc Nodes

The RTC library allow users to keep track of time and date.

Proc Nodes​

sntp set time​

Fetches the time from the sntp server and updates the time inside the system.

Inputs

  • SNTP Url : SNTP URL is the web address of a server that helps your device set the correct time by syncing with it over the internet.

change timezone​

Changes the internal rtc clock timezone.

Inputs

  • Timezone : Change Timezone is adjusting the clock to show the correct local time for a specific region.

rtc set time​

Set internal RTC time manually.

Inputs

  • Timestamp Type : Timestamp Type is a format that stores a specific date and time.
  • Micro Seconds : Microseconds are one-millionth of a second (0.000001 seconds).
  • Milli Seconds : Milliseconds are one-thousandth of a second (0.001 seconds).
  • Seconds : Seconds are the basic unit of time in the International System of Units (SI), equal to 1/60th of a minute.
  • Minutes : Minutes are a unit of time, equal to 60 seconds.
  • Hours : Hours are a unit of time, equal to 60 minutes or 3,600 seconds.
  • Date : Date refers to a specific day, month, and year on the calendar.
  • Month : Month is a unit of time, typically consisting of 28 to 31 days, and is part of the calendar year.
  • Year : Year is a unit of time, equal to 365 or 366 days, representing one full orbit of the Earth around the Sun.

rtc get time​

Gets the internal time of the system.

Outputs

  • micro seconds : Micro seconds output value.
  • milli seconds : Milli seconds output value.
  • seconds : Seconds output value.

rtc get timestamp​

Gets the internal timestamp of the system.

Outputs

  • micro seconds : Microseconds output value.
  • milli seconds : Milliseconds output value.
  • seconds : Seconds output value.
  • minutes : Minutes output value.
  • hours : Hours output value.
  • month day : Month day output value.
  • month : Month output value.
  • year : Year output value.
  • week day : Week day output value.
  • year day : Year day output value.
  • daylight saving time : Daylight saving time output value.