function showdate($format, $val) {
global $settings, $userdata;
//if (isset($userdata['user_offset'])) {
if ((isset($userdata['user_offset'])) && ($userdata['user_offset'] != 0)) {
$offset = $userdata['user_offset'];
} else {
$offset = $settings['timeoffset'];
}
if ($format == "shortdate" || $format == "longdate" || $format == "forumdate" || $format == "newsdate") {
return strftime($settings[$format], $val + ($offset * 3600));
} else {
return strftime($format, $val + ($offset * 3600));
}
}
Category Forum
Installation Issues - 8Labels
None yet
Statistics
3 participants
Notifications
You are not receiving notifications from this thread.
Related Questions