Re: [PHP] Time to Calculate Time

2002-07-08 Thread vins
Never mind that just needs a space Thanx for all the help... have a surf to http://forum.ywait.co.za/ register and then i'll make you a MOD for the php scripting forum board. for the future. if you want Cheerz "Danny Shepherd" <[EMAIL PROTECTED]> wrote in message 022001c22696$087e4cc0$02

Re: [PHP] Time to Calculate Time

2002-07-08 Thread vins
That looks great. But why do you have to carage the line after 3 in the function ? "Danny Shepherd" <[EMAIL PROTECTED]> wrote in message 022001c22696$087e4cc0$0200a8c0@DANNYS">news:022001c22696$087e4cc0$0200a8c0@DANNYS... > You just knew there was a regexp version on the way, didn't you :) > > D

Re: [PHP] Time to Calculate Time

2002-07-08 Thread Danny Shepherd
You just knew there was a regexp version on the way, didn't you :) Danny. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Time to Calculate Time

2002-07-08 Thread Danny Shepherd
Try this: There's bound to be a way to do this much more neatly using a regexp but this was quick to write and it works :) HTH Danny. - Original Message - From: "vins" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 08, 2002 4:02 PM Subje

[PHP] Time to Calculate Time

2002-07-08 Thread vins
Hey there ppl.. One dam thing i've been trying to figure out for about 2 weeks now it how the hell to calculate time. i have variables $Start, $End each with a timestamp 2 hours apart (2002070714, 2002070716) respectively How do i calculate those to timestamps to get the answer 2???