[time.h](https://github.com/esp8266/Arduino/blob/master/tools/sdk/libc/xtensa-lx106-elf/include/time.h) is declaring `gmtime` (struct from `time_t`) but the inverse function is missing. `timegm` is like `mktime` but for UTC rather than local time. While I could take existing implementations (-> [here](https://stackoverflow.com/q/16647819/131929) or [here](http://www.thebackshed.com/forum/forum_posts.asp?TID=10023&PN=12)) ideally it'd be part of the platform.