If anyone here is wondering how well an arduino or esp8266 keeps track of time on its own (without using a real time clock unit), I tested it for you:
http://www.instructables.com/id/TESTED- ... -WITHOUT-/
Spoiler: only about one second off every day.
Any suggestions on improving the code would be more than welcome. I just read that millis() resets every 50 days, so I am gonna have to write some code to deal with that.