typedef struct { Uint16 year; Uint8 month; Uint8 day; Uint8 hour; Uint8 minute; Uint8 second; Uint8 dayofweek; Uint8 ageofmoon; } SYS_RTC_DATE
year | year |
month | month |
day | date |
hour | hour |
minute | minute |
second | second |
dayofweek | day of the week |
ageofmoon | moon phase |
The argument year that expresses the year is calculated according to the Western calendar and can be set from 1950 to 2085.
The argument dayofweek expresses Sunday as 0. As the days pass, each is added one by one so that the last day, Saturday, is expressed as 6.
The argument ageofmoon, which expresses the phases of the moon, marks the moon's cycle from 0 to 29, with 0 for a new moon and 15 for a full moon.