How would I compare two dates/times.
I think my main problem is working out how to get the current date & time and then comparing that with another date/time.
Can anyone help please.
Thanks in advance.
B.
Read the user nots here: http://www.php.net/manual/en/function.date.php
and here: http://www.php.net/manual/en/function.time.php
You should be able to sort out what you need to do. There are so many different states that a date format can be in, I won't even try. Read up and you'll get something to work.