The http_date function converts the RL time format to UTC time format. This time is used by the Web server to control the browser local caching. The argument time is the time provided in RL time format.
typedef struct { /* RL Time format */
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;
The http_date function is a system function that is in the RL-TCPnet library. The prototype is defined in net_config.h. |