How do you use libraries?

I’m working with some code to create a clock and it says that I need to use the LCD and Time libraries (I have both), but every time I try to run the code, it comes up with some errors. I’m new to Arduino, so I don’t know how libraries work. The file is attached.

Here is the code:
I’m not using a RTC.

See if this helps:

I have both

Having them, and having installed them in the proper place, are not the same thing. The error message - this is the LAST time you post a picture instead of text - says that you have not installed them in the proper way.

IIRC, the DateTime library zip file actually includes several libraries that must be extracted and installed individually, not as a set.