Could some body in this forum advise me with a simple code on how to diplay DATE and TIME using printf() statement. I tried cut and paste the one posted here, and it did not even compile ... whole bunch of syntax errors !!!! Thanks in advance, JIMMY
Thanks for the reply Jon, What I want is NOT to use with the debugger, but to use within the main C program in which somewhere in the code that I can call the function to display DATE and TIME (of course at Compile time) using printf() function. I look at your modified code, and the Time_Stamp() has 2 arguments which should be somehow reference to parpameters within the Main(). How do I handle this If I were to put a Printf() function inside the Main() and call Time_stanp(DateAddr, Timeaddr) when I need to display DATE and TIME. Please advise Thanks, Jimmy