RL_TIME
The type RL_TIME contains fields to store time data. The structure is defined in the file rtl.h as follows:
typedef struct {
U8 hr; /* Hours [0..23] */
U8 min; /* Minutes [0..59] */
U8 sec; /* Seconds [0..59] */
U8 day; /* Day [1..31] */
U8 mon; /* Month [1..12] */
U16 year; /* Year [1980..2107] */
} RL_TIME;
Example:
#include <rtl.h>
...
RL_TIME timeInfo;
...
timeInfo.year = 2001;
timeInfo.mon = 12;
timeInfo.day = 31;
...