Programming with Time Library

What's a real time clock?

An external device with its own battery to keep track of the time.

Also, is there any way to use the EEPROM to store the time?

Well, sure. Then next time you start up, you can resume the clock running where it was when you shut down. Is that what you want?