For my current ESP8266 NodeMCU project I need a Lua function to convert the date/time returned by the DS3231 to epoch timestamp.
Update: I also wrote a function to verify the validity of the input parameter (see this github gist)