TheMillionDollarMan
Programmer
How can I do this?
I want to getthe time and date from when a process starts to when it finishes.
char charDate ;
char charTimeStart;
_strdate( charDate );
_strtime( charTimeStart );
Process....
char charDate2 ;
char charTime2;
_strdate( charDate2 );
_strtime( charTimeEnd2 );
But I want to compare before and after the process (ie difference in Time).
To do this I have tried
intTime = (int)charTimeStart;
But this doesn retrun anything meaningful.
Thanks
D
I want to getthe time and date from when a process starts to when it finishes.
char charDate ;
char charTimeStart;
_strdate( charDate );
_strtime( charTimeStart );
Process....
char charDate2 ;
char charTime2;
_strdate( charDate2 );
_strtime( charTimeEnd2 );
But I want to compare before and after the process (ie difference in Time).
To do this I have tried
intTime = (int)charTimeStart;
But this doesn retrun anything meaningful.
Thanks
D