Am Working on Attendance system in asp.net, I have two labels and Textboxes:
- Textbox1 for Time entry.
- Textbox2 for leave entry.
Both are inputted by user in terms for example: Entry time is: (7:50 AM) and the Leave time is: (6:15 PM). Now I want to calculate the total numbers of hours for the inputted entries. keeping in mind in the day he/she has 30 minutes break. So how to do that?