Time.h not recognized/working with ESP32

Found the solution to the problem:
PlatformIO Community