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
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to