RTC_CONV(3)
==========
Thomas "Cakeisalie5" Touhey
:Email: thomas@touhey.fr
:man source: librtc
:man manual: librtc manual

NAME
----
rtc_dateoftime, rtc_timeofdate - Time conversion functions from librtc

SYNOPSIS
--------
[source,c]
----
#include <librtc.h>

unsigned int rtc_timeofdate(rtc_date_t date);
rtc_date_t rtc_dateoftime(unsigned int time);
----

DESCRIPTION
-----------
These functions make conversions :
- from a timestamp to a simple date
- from a simple date to a timestamp

Time zone is assumed to be GMT.

SEE ALSO
--------
*librtc*(3),
*rtc_date_t*(3)
