'setTime' was not declared in this scope

Using version 1.0.5-r2 my programmed compiled ok
Using version 1.8.5 I get the error 'setTime' was not declared in this scope
I did place the Time folder from the 1.0.5-r2 in the library folder for 1.8.5 and still same error

You have to download an updated version of the time library; I suspect that yours is antique.

After that, you have to include TimeLib.h instead of Time.h.

Where do I find TimeLib.h

It's part of the newer version of the time library.

I don't understand how I got there but I did. You were right and it works fine now. Thanks