All Projects → fbiego → ESP32Time

fbiego / ESP32Time

Licence: MIT license
An Arduino library for setting and retrieving internal RTC time on ESP32 boards

Programming Languages

C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to ESP32Time

sqlite micro logger arduino
Fast and Lean Sqlite database logger for Microcontrollers
Stars: ✭ 128 (+6.67%)
Mutual labels:  arduino-library, esp32-arduino
MCP7940
Arduino Library to access the MCP7940M, MCP7940N and MCP7940x Real-Time chips
Stars: ✭ 29 (-75.83%)
Mutual labels:  arduino-library, rtc
esp-homekit-arduino-sdk
Arduino wrapper for ESP-IDF HomeKit library
Stars: ✭ 34 (-71.67%)
Mutual labels:  arduino-library, esp32-arduino
ATM90E32
Updated version of the ATM90E32 Arduino library
Stars: ✭ 22 (-81.67%)
Mutual labels:  arduino-library, esp32-arduino
Eztime
ezTime — pronounced "Easy Time" — is a very easy to use Arduino time and date library that provides NTP network time lookups, extensive timezone support, formatted time and date strings, user events, millisecond precision and more.
Stars: ✭ 173 (+44.17%)
Mutual labels:  time, arduino-library
esp32WS2811
Arduino library for ESP32 to drive WS2811 LEDs using the RMT peripheral
Stars: ✭ 22 (-81.67%)
Mutual labels:  arduino-library, esp32-arduino
ESP32 I2C Slave
I2C slave library for ESP32
Stars: ✭ 70 (-41.67%)
Mutual labels:  arduino-library, esp32-arduino
MCP79412RTC
Arduino library for the Microchip MCP79411/12 Real-Time Clock/Calendar
Stars: ✭ 20 (-83.33%)
Mutual labels:  arduino-library, rtc
Lora Serialization
LoraWAN serialization/deserialization library for The Things Network
Stars: ✭ 120 (+0%)
Mutual labels:  time, arduino-library
MD DS3231
DS3231 Real Time Clock Library
Stars: ✭ 29 (-75.83%)
Mutual labels:  time, rtc
Timezone
Arduino library to facilitate time zone conversions and automatic daylight saving (summer) time adjustments.
Stars: ✭ 205 (+70.83%)
Mutual labels:  time, arduino-library
ardusamber
Desamber time Arduino corporealization
Stars: ✭ 20 (-83.33%)
Mutual labels:  time, arduino-library
easyappointments-integrations
📅 Various platform integration packages of Easy!Appointments
Stars: ✭ 29 (-75.83%)
Mutual labels:  time
esp32-BLEKeyboard
Bluetooth keyboard made from ESP32 board and PS/2 keyboard
Stars: ✭ 26 (-78.33%)
Mutual labels:  esp32-arduino
esp32 gps thingy
GPS location provider and distance measurement with ESP32
Stars: ✭ 36 (-70%)
Mutual labels:  esp32-arduino
HorizontalTimesLayout
Layout to display time slots in horizontal 24 hour format
Stars: ✭ 31 (-74.17%)
Mutual labels:  time
gostrftime
strftime for Go
Stars: ✭ 21 (-82.5%)
Mutual labels:  time
Somfy Remote
Somfy remote control emulator connected to MQTT
Stars: ✭ 19 (-84.17%)
Mutual labels:  esp32-arduino
crystime
Advanced time, calendar, schedule, and remind library for Crystal
Stars: ✭ 23 (-80.83%)
Mutual labels:  time
ArduinoOcpp
OCPP 1.6 client for microcontrollers
Stars: ✭ 139 (+15.83%)
Mutual labels:  esp32-arduino

ESP32Time

An Arduino library for setting and retrieving internal RTC time on ESP32 boards

arduino-library-badge PlatformIO Registry

Functions

ESP32Time rtc(offset); // create an instance with a specifed offset in seconds
rtc.offset;	// get or modify the current offset
setTime(30, 24, 15, 17, 1, 2021);  // 17th Jan 2021 15:24:30
setTime(1609459200);  // 1st Jan 2021 00:00:00
setTimeStruct(time);	// set with time struct

getTime()          //  (String) 15:24:38
getDate()          //  (String) Sun, Jan 17 2021
getDate(true)      //  (String) Sunday, January 17 2021
getDateTime()      //  (String) Sun, Jan 17 2021 15:24:38
getDateTime(true)  //  (String) Sunday, January 17 2021 15:24:38
getTimeDate()      //  (String) 15:24:38 Sun, Jan 17 2021
getTimeDate(true)  //  (String) 15:24:38 Sunday, January 17 2021

getMicros()        //  (unsigned long)    723546
getMillis()        //  (unsigned long)    723
getEpoch()         //  (unsigned long)    1609459200
getLocalEpoch()    //  (unsigned long)    1609459200 // local epoch without offset
getSecond()        //  (int)     38    (0-59)
getMinute()        //  (int)     24    (0-59)
getHour()          //  (int)     3     (0-12)
getHour(true)      //  (int)     15    (0-23)
getAmPm()          //  (String)  pm
getAmPm(false)     //  (String)  PM
getDay()           //  (int)     17    (1-31)
getDayofWeek()     //  (int)     0     (0-6)
getDayofYear()     //  (int)     16    (0-365)
getMonth()         //  (int)     0     (0-11)
getYear()          //  (int)     2021

getTime("%A, %B %d %Y %H:%M:%S")   // (String) returns time with specified format 

Formatting options

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].