I am using this function to caculate the days left to the start of a race.
function timeleft()
{
return Round((mktime(0, 0, 0, 11, 7, 2004) - time())/86400);
}
Is the time() part using the local time of the users machine or the server hosting the page? Am i even doing it right?
I have been coding VB for about 1.5 years and it sure is diff learning php.
thanks