PDA

Click to See Complete Forum and Search --> : calculate time difference. (Resolved)


Chrisio
Jan 15th, 2005, 06:16 AM
How can I calculate the difference in time in php. on my web page is a javascript clock running and a text box for them to enter there time, what I want is if there is less than 2 hours between the jscript time and the time they have entered I want to it error else just submit the form...

Does this make sense

Help please

Chrisio

No Matter... I managed this myself...broke everything down into seconds and did the calculation as tho it were one big sum.