Help please. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Help please.

I'm trying to make a algorithm for my mother to use while calculating her work hours but my experience with coding is really really basic. Can someone help me? You need to be able to input the time ex. 09:45-19:45 (preferably 24 hour clock) and then input the lunch break ex. 1h or 0,5 hour. Then when you've written in all the days of a month it will output how many hours and minutes you've worked that month.

15th Jan 2017, 2:45 PM
Lucas Ilstedt
Lucas Ilstedt - avatar
1 Answer
+ 2
If you want to use javascript for that, the following link should help you get going: http://stackoverflow.com/questions/10804042/calculate-time-difference-with-javascript In case you try sth out, post a code snippet so that it's easier for the ppl here to help you.
16th Jan 2017, 4:22 PM
Tasa Lorenz