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

NAME
----
rtc_getdate, rtc_gettime, rtc_getticks - Time getting functions from librtc

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

rtc_date_t rtc_getdate(void);
unsigned int rtc_gettime(void);
unsigned int rtc_getticks(void);
----

DESCRIPTION
-----------
These functions get the actual state of the RTC, and return it in three
different forms :
- a simple date (see *rtc_date_t*(3))
- a timestamp
- ticks (approximate number of milliseconds since the librtc initialization)

Time zone is assumed to be GMT.

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