FabGL
ESP32 Display Controller and Graphics Library
DateTime Struct Reference

Represents date and time. More...

#include <DS3231.h>

Public Member Functions

time_t timestamp (int timezone)
 Calculates Unix timestamp. More...
 

Public Attributes

int8_t dayOfMonth
 
int8_t dayOfWeek
 
int8_t hours
 
int8_t minutes
 
int8_t month
 
int8_t seconds
 
int16_t year
 

Detailed Description

Represents date and time.

Examples:
SSD1306_OLED/128x64/RTClock/RTClock.ino.

Definition at line 58 of file DS3231.h.


The documentation for this struct was generated from the following files: