uint64_t clock_getTimestamp()
Get the current timestamp.
uint64_t clock_datetimeToTimestamp(const clock_DateTime *dateTime)
Convert a datetime to a timestamp.
void clock_timestampToDatetime(uint64_t timestamp, clock_DateTime *dateTime)
Convert a timestamp to a datetime.
Represents date & time values for display.
uint8_t month
The month (1..12)
uint8_t day
The day of the month (1..31)
uint8_t second
The second of the minute (0..59)
uint8_t minute
The minute of the hour (0..59)
uint8_t hour
The hour of the day (0..23)