Keep time.

I need my Arduino Mega to keep time.

I have an RTC Module (with battery) correctly attached, but I don't know how to program it. There must be an off-the-shell time keeper.

It doesn't need to output time on a digital display... only to not write every file on Jan 1, 2000.

There must be simple code out there that I can assign time myself. It shouldn't reset when I turn it off or depend on my computer--it runs all the time on its own.

Which RTC module is it you have?

Sparkfun electronics

specs found here: http://www.sparkfun.com/products/99