timothyleesnipe wrote:
however it stays the same it does not move forward like a clock
What do you mean by this? If you are only getting the value once then of course it's not going to change on you. Look into loops: http://compsci.ca/holtsoft/doc/loop.html and delays: http://compsci.ca/holtsoft/doc/time_delaysincelast.html
It appears as if this document: http://compsci.ca/holtsoft/doc/time_date.html shows you how to get the time portion of the date, combine the 3 things I linked and you have a clock.