Thanks for the reply; that works perfectly. I just couldn't figure out which function did it.
Again, thanks,
Keith
function xoops_getUserTimestamp($time, $timeoffset="")
{
global $xoopsConfig, $xoopsUser;
if ($timeoffset == '') {
if ($xoopsUser) {
$timeoffset = $xoopsUser->getVar("timezone_offset");
} else {
$timeoffset = $xoopsConfig['default_TZ'];
}
}
$usertimestamp = intval($time) + (intval($timeoffset) - $xoopsConfig['server_TZ'])*3600;
return $usertimestamp;
}