Arduino clock not showing correctly?

Hey all,

First off let me say I am so new to code that its not even funny. Mainly started this project to have a way to control lights on my fish tank.

Link to project thread to better understand what im doing:

So I knew nothing going into this, and found this thread above. The guys on the thread seemed like they would help out if you had any questions but I think I missed out on all the action, not getting much help with my current problem.

I seem to have all the code working, and all the hardware setup the way its supposed to, using and RTC, a 20x4 lcd screen and a generic PCB with the resistors and ir sensor and such on it. But the problem im now running into is when the setup is hooked to my computer through the USB, its not putting the clock at the proper time, the RTC is holding the time but its off by a little over 12 hours. Example its currently 13:05, and its showing 00:47.

I have been copying the code from the above thread as they got it ironed out, is there somewhere in there where I have to set the time when I upload? I really feel great about getting as far as I have but kinda stumped on the time issue.

Any help would be great. If you need me to go over what pins are going where on the setup I can, just looking to get this working as I would hate to have wasted the $$ to do this, especially now that there is a Timer in production from my light manufacturer.

It is always best to show us your current sketch.

See #7
http://forum.arduino.cc/index.php/topic,148850.msg1118324.html#post_codetags

JohnLincoln:
See this tutorial about seting and using a RTC:
Using the Real Time Clock | Adafruit Data Logger Shield | Adafruit Learning System

Note this quote:

Setting the time

With the same sketch loaded, uncomment the line that starts with RTC.adjust like so:
// following line sets the RTC to the date & time this sketch was compiled RTC.adjust(DateTime(DATE, TIME));
This line is very cute, what it does is take the Date and Time according the computer you're using (right when you compile the code) and uses that to program the RTC. If your computer time is not set right you should fix that first. Then you must press the Upload button to compile and then immediately upload. If you compile and then upload later, the clock will be off by that amount of time.

Alright, so how what do I do with that line, RTC.adjust(DateTime(DATE, TIME)); Its in the sketch and im not sure what Uncomment the line means.

Edit: SO uncomment and comment means // in front so it gets greyed out in the sketch window correct? If so that is done, its not greyed out, my computer clock down in the start menu shows the correct time, yet it doesnt compile/upload the sketch with the proper time. Its showing almost exactly 12 hours off, its 826 pm and its showing 0809am military time.

Oh and I cant post the sketch as its telling me its over 9500 characters, its found on post #2 at: Guide: Arduino based LED controller for Current Satellite LED+ | The Planted Tank Forum

All set, got it figured out, it was being stubborn, had to comment out a line to force a clock update then uncomment it to get my RTC back working.