are there any arduino codes that allow you to display the time with the serial monitor, and no external hardware?

i tried DateTime from the playground, but it doesnt seem to want to work. i made sure everything was working, and the code compiled correctly, but when i open the serial monitor, nothing is there. i made sure the baud rate was correct. im using arduino 0017, and vista

Go to:

Download the Time Library from:

Install the library by following directions : under the "Contributed Libraries" header.

Open the Arduino IDE, click: File ->Sketchbook -> libraries -> Time -> examples -> TimeSerial

Upload the code and follow the commented instructions.