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.