Re: How to know and use the time & date in programme ?
Quote:
Originally Posted by clmlbx
How to know and use the time & date in programme ?
all must have understood it but to clear it........current date and time
in c and c++ ?
we mostly do use current date n time to make it act like a timestamp..... it can be used to calulate to total time requried 4 processing a particilar function or ne other code.... we can do tat by subtracting the current time before the code frm the current time after the code.. so wat u get is the time it took to run the code in millisec.... cos in C/C++ we get time stamp in millisec.....
__________________
If the Start Windows Restart when Windows starts check box is checked Windows Restart will start automatically every time Windows is started. - Actual excerpt from a windows program help file