So far I have a design like this...
http://img169.imageshack.us/img169/4538/image1ew4.jpg
Simple, so that the user can input hours the employee started, and finished work. Good thing is, this has nothing to do with wages, just hours.
The only thing is, I can't figure out how to make it go past the 12 hour. Meaning if someone worked from 7AM to 4PM, what code would I enter for it to calculate that, with the lunch hour taken (minus an hour), also the digit part, as 12 changes to 1.
I understand from 7-12, since I would just make it increase 5, but once it changes over to 1, my numbers get all messed up. I also understand that after a time is entered for "In-Time" and "Out-Time" for a day, a new value must be created with those hours added up, even though it won't be displayed. And from there, I would take those newly created values, and add them up for the "Total Hrs.". I'm trying to do this for my boss who has trouble with computers big time.
If you can help, thank you so much! =)
2007-03-17
11:12:05
·
5 answers
·
asked by
alphaaxl
1