Start event specific time registered

Do you really need two time libraries? Also the Timezone library? Since your architecture supports the time library, it can handle local time and time zones quite well by itself, actually better.

For example:

  configTime(0, 0, "pool.ntp.org");
  // Set timezone to Eastern Standard Time
  setenv("TZ", "EST5EDT,M3.2.0/2,M11.1.0", 1);