Hello,
Does someone knows how to calculate the total hours between 2 times? For example if a worker clocks in at 8:00 and out at 16:00, I would like to know that in decimal it's 8.0 hours and it's 8:00 hours.
I'm using C# framework 2.0. The variables that hold the in and out time are of type string.
TY