Thanks STEFAN for teaching us a simple program to show date and time ,i also want to know how we can print the compilation or build date of the code.
Look up __DATE__ and __TIME__...
http://www.keil.com/forum/10615/
http://www.keil.com/support/docs/2584.htm