time 1.0
Time validation library
Loading...
Searching...
No Matches
FORMAT_Date_t Struct Reference

Represents a compact calendar date using day, month, and year fields. More...

#include <time.h>

Data Fields

unsigned char day
unsigned char month
unsigned char year

Detailed Description

Represents a compact calendar date using day, month, and year fields.

This structure provides an 8-bit per field representation of a calendar date, suitable for embedded systems and RTC-related operations. The year field is typically interpreted as an offset from an application-defined epoch (for example, 2000 + year), allowing efficient storage in limited memory environments.

Field Documentation

◆ day

unsigned char day

Day of month (1–31, depending on month)

◆ month

unsigned char month

Month of year (1–12)

◆ year

unsigned char year

Year offset relative to an application-defined epoch


The documentation for this struct was generated from the following file: