I have fixed it - at least on my site
PHP Code:
// Nicer Greeting On NavBar
$ng_gmt = date('G') + 6; // add + or - and the difference between the server and GMT. My time zone is GMT-6 so I add 6
$ng_tz_useroffset = $vbulletin->userinfo['timezoneoffset'];
$ng_result = bcadd($ng_gmt, $ng_tz_useroffset);
if($ng_result < 12){
$ng_greeting = "<strong>" . $vbphrase[ng_goodmorning] . " " . $vbulletin->userinfo[username] . ".</strong>";
} elseif($ng_result < 18){
$ng_greeting = "<strong>" . $vbphrase[ng_goodafternoon] . " " . $vbulletin->userinfo[username] . ".</strong>";
} else {
$ng_greeting = "<strong>" . $vbphrase[ng_goodevening] . " " . $vbulletin->userinfo[username] . ".</strong>";
}
// Nicer Greeting On NavBar