HOw would I use this function below, from this url
http://php.net/manual/en/function.date-diff.php
I need to output the subject, date, and the final answer to the calcuation
of the time difference (say from e.g. 10:00 AM to 12:00 PM) . Getting total
time wrked on at a job site, doing helpdesk. I am
tImeArrived = CDate(InputBox("Enter START time:", "Start time", "9:00 AM"))
TimeLeft = CDate(InputBox("Enter END time:", "End time", "1:24 PM"))
Minutes = DateDiff("n", TimeArrived, TimeLeft)
Hours = Int(Minutes / 60)
Minutes = Minutes - (Hours * 60)
TotalTime = Format(Hours, "0") & ":" & Format(Mi
2 matches
Mail list logo