Re: [PHP] Project TIME calculated, in PHP

2010-05-02 Thread Peter Lind
On 1 May 2010 22:02, Richard Quadling wrote: > On 1 May 2010 18:48, justino garcia wrote: >> 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) >> Hou

Re: [PHP] Project TIME calculated, in PHP

2010-05-01 Thread Richard Quadling
On 1 May 2010 18:48, justino garcia wrote: > 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

[PHP] Project TIME calculated, in PHP

2010-05-01 Thread justino garcia
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