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

NAME
----
rtc_date_t - Date format from librtc

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

typedef struct {
	/* 64-hz counter, 0 to 63 */
	int hz64;
	/* seconds counter, 0 to 59 */
	int sec;
	/* minutes counter, 0 to 59 */
	int min;
	/* hour counter, 0 to 23 */
	int hour;
	/* week day, 0 to 6, 0 is sunday */
	int wday;
	/* month day, 1 to 31 */
	int day;
	/* month, 1 to 12 */
	int month;
	/* year, formatted as you expect */
	int year;
} rtc_date_t;
----

DESCRIPTION
-----------
This is the standard date format in librtc, and the closest to the RTC format.
No check is performed on the limits of each field, the behaviour of librtc
functions in case they are out of range is undefined.

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