Question
Function for timesheet calculation
Hi Guys,
I wanted to know, Is it possible to create a Javascript Function based calculation for a timesheet that also includes amount of people working during that time period.
Example.
| Start | Finish | Number of workers | Total Hours |
|---|---|---|---|
| Start1.0 | Finish1.0 | Workers1.0 | Totalhours1.0 |
| Start1.1 | Finish1.1 | Workers1.1 | Totalhours1.1 |
| Start1.2 | Finish1.1 | Workers1.2 | Totalhours1.2 |
My function would be something like CalcHours() ….. which would yield something like would calculate like this (Finish1.0 - Start1.0) * Workers1.0
your helps would be greatly appreciated.
