[nycphp-talk] time sheet
David Krings
ramons at gmx.net
Fri Feb 23 15:22:36 EST 2007
selyah wrote:
> Hello:
> I am developing a report scheduler that will includes as headings,
> Project Name, Date, Time Start, Time End, Description, and Total
> Hours. This is the issue, I need to have the hours column to be a
> result of the subtraction of time start and time end. Does PHP support
> math capabilities and is there a function that does this?
> thanks in advance for you help
>
> Ian
>
You can convert the time to a unix time stamp and then use simple math
operations to do the calculations, then convert the result back.
David
More information about the talk
mailing list
Automatic Email Organization without missing anything!