error: 'WiFiClient' does not name a type

I have reached the limit of my Arduino/C++ programming abilities, which isn't that far. I've been trying to compile the attached sketch now for 3 days with "No Joy", but now I 'am getting this; "error: 'WiFiClient' does not name a type." HELP!

Internet_Clock.ino (15.8 KB)

You didn't import WiFiClient library (WiFiClient.h).
ESP8266 library has different syntax from WiFiClient library.
Check the documentation on ESP8266Library