Any date to EPOCH

Hi, is there a simple sketch/library available that converts a date (any date - not RTC) to EPOCH?

I'm developing a project on ESP8266 ESP-01 but need to be able to convert a set of dates I am pulling from an API to their respective EPOCH equivalent.

Thanks

Time.h

Take a look at the Time.h This link will get you started:
library/ avr-libc: <time.h>: Time

gilshultz:
Take a look at the Time.h This link will get you started:
library/ avr-libc: <time.h>: Time

For documentation, it would be better to go to the ESP pages. The ESP implementation is different. But that will give you the "flavour" of it.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.