# RtcTime - [Overview](#section1920620469165636) - [Summary](#section702724698165636) - [Data Fields](#pub-attribs) - [Details](#section43113685165636) - [Field](#section618246028165636) - [day](#aad7e09d86beed6186b75ce2f1361f20b) - [hour](#a0dc9482d29a4b61184b281b766b0ff89) - [millisecond](#afbfa636802d9e4e3b8502d4619ed771f) - [minute](#a990d7d066bc918d0b2f19162deb1845f) - [month](#a527b18b3a0b709966d04106f0a5aed78) - [second](#a8d7d49086d28faf2f700c45aab23c58b) - [weekday](#aae45834a39c6b4a03dc85da72298b37e) - [year](#a7781f6e9f083f7f24aa359651eadd19b) ## **Overview** **Related Modules:** [RTC](RTC.md) **Description:** Defines the RTC information. The RTC information includes the year, month, day, day of the week, hour, minute, second, and millisecond. The start time is 1970/01/01 Thursday 00:00:00 \(UTC\). ## **Summary** ## Data Fields

Variable Name

Description

second

uint8_t

minute

uint8_t

hour

uint8_t

day

uint8_t

weekday

uint8_t

month

uint8_t

year

uint16_t

millisecond

uint16_t

## **Details** ## **Field ** ## day ``` uint8_t RtcTime::day ``` **Description:** Day. The value ranges from 1 to 31. ## hour ``` uint8_t RtcTime::hour ``` **Description:** Hour. The value ranges from 0 to 23. ## millisecond ``` uint16_t RtcTime::millisecond ``` **Description:** Millisecond. The value ranges from 0 to 990, with a precision of 10 milliseconds. ## minute ``` uint8_t RtcTime::minute ``` **Description:** Minute. The value ranges from 0 to 59. ## month ``` uint8_t RtcTime::month ``` **Description:** Month. The value ranges from 1 to 12. ## second ``` uint8_t RtcTime::second ``` **Description:** Second. The value ranges from 0 to 59. ## weekday ``` uint8_t RtcTime::weekday ``` **Description:** Day of the week. The value ranges from 1 to 7, representing Monday to Sunday. ## year ``` uint16_t RtcTime::year ``` **Description:** Year. The value is greater than or equal to 1970.