コード例 #1
0
 function convServerToLocalTime($timestamp)
 {
     NBFrame::setPHPServerTimeZone();
     $timestamp += (NBFrame::getLocalTimeZone() - $GLOBALS['xoopsConfig']['server_TZ']) * 3600;
     return $timestamp;
 }