Hi all
In C++ how do i convert the difference b/ween 2 times in hours into minutes?
consider an employee comes in to work in the morning and goes home in the evening.
timein --> 9.00 AM
timeout --> 4.00PM
how would i calculate how many hours he has worked for that day?
if i were to do the following
workhours = timeout - timein
then the o/put would surely be wrong.
thanx.