ok guys i'm using the unix time insert mktime() into the database
and then i have one set to right now too
now i'm subtracting them and the insert was made about 20-30 minutes ago and i'm getting 7 hours from my code.
i tried to convert the unix time stamp to seconds as well using strtostring() but i got an even higher number
here's my code
$newdate = (strtotime($todays_date) -
strtotime($rows['db_date']));
echo date("g:i:s", $newdate);
both strings you see there $rows['db_date'] and $todays_date are plain and simple mktime() (none set so i set them later as you see using date() )
also one other problem that i'm having.
i have this code for error messages:
function support_processError($error) {
global $title;
echo "<center>$title's Support Central Error Processing<br />";
echo "The following error(s) were found in your pevious action<br />";
echo "<ul>";
echo "<li>$error</li>";
echo "</ul>";
echo "Please go back and try again<br /><br /></center>";
}
now this does work in both opera and IE but not Netscape, any ideas?
thanks alot guys n gals