# RtcTime ## **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 Documentation** ## 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.