I know I asked this before buy no-one gave me an answer i was looking for, I
want to subtract two times and the ammount of hours worked to 2decimal
places (3.41 hours)
cheers,
dave
_
Use MSN Messenger to send music and pics to you
""Matthew Cothier"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I really need help here. What I am trying to do is the following.
Which database are you using? What format is it returning the date and
time in (string or integer)? It may be simpler to
check out http://www.php.net/manual/en/function.mktime.php
If you still need assistance, I'm here.
On Sun, 24 Jun 2001, Matthew Cothier wrote:
> I really need help here. What I am trying to do is the following.
>
> -
>
> $today = date("m.d.y");
> $time = date("g:i a");
>
> if($row[3]
I really need help here. What I am trying to do is the following.
-
$today = date("m.d.y");
$time = date("g:i a");
if($row[3] == $today){
if(($row[4] < $time) and ($time < $row[6])){
print("Now Showing");
} else {
print("Today at $row[4]");