This topic is locked

How to calculate TIME

1/6/2009 9:26:14 PM
PHPRunner General questions
B
bannero author

On my "Flights" table beside other fields I have two fields "DepartureTime" and "ArrivalTime"

I need to show Total trip time.

Also I need to show a total time of the plane ours

How can I do that?
Thanks in advance

J
Jane 1/7/2009

Hi,
use Before record added and Before record updated events on the Eventstab to calculate total time and save it in the field.

B
bannero author 1/7/2009

Hi,

use Before record added and Before record updated events on the Eventstab to calculate total time and save it in the field.


Can someone please take me by the hand on this one!

A
Aleix 1/7/2009



Can someone please take me by the hand on this one!


Look this link
http://www.webtutoriales.com/tutoriales/pr...-fechas.14.html

http://ar2.php.net/manual/es/function.mktime.php
Could be help you
Good look
Aleix