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

NAME
----
rtc_setdate, rtc_settime - Time setting functions from librtc

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

void rtc_setdate(rtc_date_t date);
void rtc_settime(unsigned int time);
----

DESCRIPTION
-----------
These functions alter the actual state of the RTC. They can take two forms :
- a simple date (see *rtc_date_t*(3))
- a timestamp

Time zone is assumed to be GMT.

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